Skip to content

Commit a23ebcc

Browse files
perf(laravel): making phpstan happier
1 parent 618785a commit a23ebcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Laravel/Eloquent/Metadata/ModelMetadata.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function getAttributes(Model $model): Collection
7070
$columns = Cache::flexible('api-platform.tables.'.$table, [5, 10], function () use ($schema, $table) {
7171
return $schema->getColumns($table);
7272
});
73-
/** @var array<string, mixed> $indexes */
73+
/** @var array<int, mixed> $indexes */
7474
$indexes = Cache::flexible('api-platform.indexes.'.$table, [5, 10], function () use ($schema, $table) {
7575
return $schema->getIndexes($table);
7676
});

0 commit comments

Comments
 (0)