Skip to content

Commit e91db00

Browse files
committed
fix psalm
1 parent b82b125 commit e91db00

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/DatabasePopulator.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function loadRows(string ...$sets): void
4444
foreach ($sets as $set) {
4545
/**
4646
* @psalm-suppress UnresolvableInclude
47-
* @psalm-var array<string, array<string,array>> $data
47+
* @psalm-var array<string, list<array<string, mixed>>> $data
4848
*/
4949
$data = require $this->getRowsFilePath($set);
5050
foreach ($data as $table => $rows) {
@@ -57,6 +57,7 @@ public function loadRows(string ...$sets): void
5757

5858
/**
5959
* @param array[] $rows
60+
* @psalm-param list<array<string,mixed>> $rows
6061
*/
6162
private function insertRows(string $table, array $rows): void
6263
{

0 commit comments

Comments
 (0)