Skip to content

Commit

Permalink
Update type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Mar 24, 2023
1 parent 11cfc73 commit ad1463c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
final class Parser
{
/**
* @psalm-return Generator<int, array<string, int|float|string>>
* @psalm-return Generator<int, array<string, bool|int|float|string>>
*
* @throws CannotReadCsvFileException
* @throws OutOfBoundsException
Expand All @@ -39,7 +39,7 @@ public function parse(string $filename, Schema $schema, bool $ignoreFirstLine =
}

/**
* @psalm-return Generator<int, array<string, int|float|string>>
* @psalm-return Generator<int, array<string, bool|int|float|string>>
*/
private function generator(SplFileObject $file, Schema $schema, bool $ignoreFirstLine): Generator
{
Expand Down

0 comments on commit ad1463c

Please sign in to comment.