Skip to content

Commit

Permalink
fix psalm
Browse files Browse the repository at this point in the history
  • Loading branch information
vjik committed Jul 17, 2024
1 parent b82b125 commit e91db00
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/DatabasePopulator.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function loadRows(string ...$sets): void
foreach ($sets as $set) {
/**
* @psalm-suppress UnresolvableInclude
* @psalm-var array<string, array<string,array>> $data
* @psalm-var array<string, list<array<string, mixed>>> $data
*/
$data = require $this->getRowsFilePath($set);
foreach ($data as $table => $rows) {
Expand All @@ -57,6 +57,7 @@ public function loadRows(string ...$sets): void

/**
* @param array[] $rows
* @psalm-param list<array<string,mixed>> $rows
*/
private function insertRows(string $table, array $rows): void
{
Expand Down

0 comments on commit e91db00

Please sign in to comment.