@@ -61,7 +61,7 @@ |
||
61 | 61 | |
62 | 62 | private function getNumberOfUnreadNotifications(array $notifications, UserInterface $user): int |
63 | 63 | { |
64 | - $readByUserNotifications = \array_map(function ($notification) { |
|
64 | + $readByUserNotifications = \array_map(function($notification) { |
|
65 | 65 | return $notification->getId(); |
66 | 66 | }, $user->getNotifications()->toArray()); |
67 | 67 |