diff --git a/src/Repository/OrderRepository.php b/src/Repository/OrderRepository.php index 929f800..777c9d5 100644 --- a/src/Repository/OrderRepository.php +++ b/src/Repository/OrderRepository.php @@ -147,9 +147,7 @@ public function getOrderForCheckPayment(?string $currencyCode = null): array ->setParameter('currencyCode', $currencyCode); } - /** @var array $orders */ - $return = $qb->getQuery()->getResult(); - - return $return; + /** @phpstan-ignore-next-line */ + return $qb->getQuery()->getResult(); } }