Skip to content

Commit

Permalink
Merge pull request #46187 from GeoSot/fix/get-all-tables-returns-wrong
Browse files Browse the repository at this point in the history
[10.x] docs: `getAllTables` return type form `void` to `array`
  • Loading branch information
timacdonald authored Feb 21, 2023
2 parents 9a409cf + 01af979 commit 975807b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Schema/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ public function dropAllTypes()
/**
* Get all of the table names for the database.
*
* @return void
* @return array
*
* @throws \LogicException
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Facades/Schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
* @method static void dropAllTables()
* @method static void dropAllViews()
* @method static void dropAllTypes()
* @method static void getAllTables()
* @method static array getAllTables()
* @method static void rename(string $from, string $to)
* @method static bool enableForeignKeyConstraints()
* @method static bool disableForeignKeyConstraints()
Expand Down

0 comments on commit 975807b

Please sign in to comment.