From bb4ea25a58c3181a6b6440256e4f55bcf4b7a58b Mon Sep 17 00:00:00 2001 From: Nathanael Kammermann Date: Wed, 10 Apr 2024 18:15:18 +0200 Subject: [PATCH] fix typo --- src/Repository/LicenseClientNotificationRepository.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Repository/LicenseClientNotificationRepository.php b/src/Repository/LicenseClientNotificationRepository.php index 0f32597..8aba0b0 100644 --- a/src/Repository/LicenseClientNotificationRepository.php +++ b/src/Repository/LicenseClientNotificationRepository.php @@ -34,9 +34,9 @@ public function getOpenNotifications(string $client): array $notificationsWithStatus = $qb->getQuery()->getResult(); $notificationsCleaned = []; - foreach ($notificationsWithStatus as $notificationsWithStatus) { - if ($notificationsWithStatus['status'] === null) { - $notificationsCleaned[] = $notificationsWithStatus['notification']; + foreach ($notificationsWithStatus as $notificationWithStatus) { + if ($notificationWithStatus['status'] === null) { + $notificationsCleaned[] = $notificationWithStatus['notification']; } }