Skip to content

Commit 762e561

Browse files
committed
Fix generic type declaration
1 parent 1ad5e56 commit 762e561

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Database/PgSQLSchema.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function getTableNames(): Collection
4444

4545
return $table['schema'] === $searchPath;
4646
})
47-
->pluck('name')
47+
->map(static fn (array $table): string => $table['name'])
4848
->values();
4949
}
5050

src/Migration/Generator/IndexGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public function getNotChainableIndexes(Collection $indexes, Collection $chainabl
101101
/**
102102
* Get column names with length.
103103
*
104-
* @return array<string|\Illuminate\Database\Query\Expression>
104+
* @return array<string>
105105
*/
106106
private function getColumns(Index $index): array
107107
{

0 commit comments

Comments
 (0)