Skip to content

Commit d2d4a9e

Browse files
taylorotwellgithub-actions[bot]
authored andcommitted
Update facade docblocks
1 parent 715f60e commit d2d4a9e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Illuminate/Support/Facades/Schema.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
* @method static bool hasColumns(string $table, array $columns)
2222
* @method static void whenTableHasColumn(string $table, string $column, \Closure $callback)
2323
* @method static void whenTableDoesntHaveColumn(string $table, string $column, \Closure $callback)
24+
* @method static void whenTableHasIndex(string $table, string|array $index, \Closure $callback, string|null $type = null)
25+
* @method static void whenTableDoesntHaveIndex(string $table, string|array $index, \Closure $callback, string|null $type = null)
2426
* @method static string getColumnType(string $table, string $column, bool $fullDefinition = false)
2527
* @method static array getColumnListing(string $table)
2628
* @method static array getColumns(string $table)

0 commit comments

Comments
 (0)