Skip to content

Commit

Permalink
#98 fix phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
guich25 committed Feb 27, 2024
1 parent ebf7b40 commit 318245b
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,10 @@ public function query(Query $query): iterable
$qb->select('*')
->from($this->table);

/**
* @phpstan-var array<string, array<int, int|string>> $queryParameters
* @phpstan-var array<string, int> $queryTypes
*/
[$queryParameters, $queryTypes] = $this->addWheres($query, $qb);

switch ($query->sort()) {
Expand Down Expand Up @@ -278,7 +282,7 @@ private function fetchRow(string $jobName, string $id): array

/**
* @phpstan-param array<string, mixed> $parameters
* @phpstan-param array<string, array<int|string>|int> $types
* @phpstan-param array<string, int|string> $types
*
* @phpstan-return Generator<JobExecution>
*/
Expand Down

0 comments on commit 318245b

Please sign in to comment.