Skip to content

Commit 975807b

Browse files
authored
Merge pull request #46187 from GeoSot/fix/get-all-tables-returns-wrong
[10.x] docs: `getAllTables` return type form `void` to `array`
2 parents 9a409cf + 01af979 commit 975807b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Illuminate/Database/Schema/Builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ public function dropAllTypes()
364364
/**
365365
* Get all of the table names for the database.
366366
*
367-
* @return void
367+
* @return array
368368
*
369369
* @throws \LogicException
370370
*/

src/Illuminate/Support/Facades/Schema.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* @method static void dropAllTables()
2626
* @method static void dropAllViews()
2727
* @method static void dropAllTypes()
28-
* @method static void getAllTables()
28+
* @method static array getAllTables()
2929
* @method static void rename(string $from, string $to)
3030
* @method static bool enableForeignKeyConstraints()
3131
* @method static bool disableForeignKeyConstraints()

0 commit comments

Comments
 (0)