Passed
Push — master ( 848980...7bc374 )
by Arthur
04:30
created
src/Foundation/Controllers/NotificationController.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,8 +28,9 @@
 block discarded – undo
28 28
     {
29 29
         $notification = get_authenticated_user()->unreadNotifications()->find($id);
30 30
 
31
-        if ($notification === null)
32
-            throw new NotFoundHttpException("Could not find notification");
31
+        if ($notification === null) {
32
+                    throw new NotFoundHttpException("Could not find notification");
33
+        }
33 34
 
34 35
         $notification->markAsRead();
35 36
         return response()->json([
Please login to merge, or discard this patch.