From 5af55216b018ae49a1d5ffabda8ef3678d340966 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Bar=C3=A1=C5=A1ek?= Date: Tue, 15 Feb 2022 15:30:48 +0100 Subject: [PATCH] PhpStan fix --- src/Repository/OrderRepository.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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(); } }