Skip to content

Commit

Permalink
PhpStan fix
Browse files Browse the repository at this point in the history
  • Loading branch information
janbarasek committed Feb 15, 2022
1 parent fe08387 commit 5af5521
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Repository/OrderRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,7 @@ public function getOrderForCheckPayment(?string $currencyCode = null): array
->setParameter('currencyCode', $currencyCode);
}

/** @var array<int, Order> $orders */
$return = $qb->getQuery()->getResult();

return $return;
/** @phpstan-ignore-next-line */
return $qb->getQuery()->getResult();
}
}

0 comments on commit 5af5521

Please sign in to comment.