Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Praesidiarius committed Apr 10, 2024
1 parent fe14c56 commit bb4ea25
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Repository/LicenseClientNotificationRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
}
}

Expand Down

0 comments on commit bb4ea25

Please sign in to comment.