Passed
Pull Request — master (#45)
by Paweł
10:26
created
src/Controller/ApiNotificationsController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.