Skip to content

Commit 318245b

Browse files
committed
#98 fix phpstan
1 parent ebf7b40 commit 318245b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/batch-doctrine-dbal/src/DoctrineDBALJobExecutionStorage.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,10 @@ public function query(Query $query): iterable
152152
$qb->select('*')
153153
->from($this->table);
154154

155+
/**
156+
* @phpstan-var array<string, array<int, int|string>> $queryParameters
157+
* @phpstan-var array<string, int> $queryTypes
158+
*/
155159
[$queryParameters, $queryTypes] = $this->addWheres($query, $qb);
156160

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

279283
/**
280284
* @phpstan-param array<string, mixed> $parameters
281-
* @phpstan-param array<string, array<int|string>|int> $types
285+
* @phpstan-param array<string, int|string> $types
282286
*
283287
* @phpstan-return Generator<JobExecution>
284288
*/

0 commit comments

Comments
 (0)