Completed
Pull Request — master (#60)
by Mahmoud
06:15 queued 02:27
created
app/Containers/User/UI/API/Requests/DeleteUserRequest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
      * @param \Illuminate\Contracts\Auth\Access\Gate                        $gate
34 34
      * @param \App\Containers\Authentication\Tasks\GetAuthenticatedUserTask $getAuthenticatedUserTask
35 35
      *
36
-     * @return  mixed
36
+     * @return  boolean
37 37
      */
38 38
     public function authorize(Gate $gate, GetAuthenticatedUserTask $getAuthenticatedUserTask)
39 39
     {
Please login to merge, or discard this patch.
app/Port/Broadcast/Providers/BroadcastServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,8 +19,8 @@
 block discarded – undo
19 19
         /*
20 20
          * Authenticate the user's personal channel...
21 21
          */
22
-        Broadcast::channel('App.User.*', function ($user, $userId) {
23
-            return (int) $user->id === (int) $userId;
22
+        Broadcast::channel('App.User.*', function($user, $userId) {
23
+            return (int)$user->id === (int)$userId;
24 24
         });
25 25
     }
26 26
 }
Please login to merge, or discard this patch.