Completed
Push — master ( db2a72...0e04a6 )
by Brandon
01:49
created
app/Notifications/InvoicePaid.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      * Get the notification's delivery channels.
26 26
      *
27 27
      * @param  mixed  $notifiable
28
-     * @return array
28
+     * @return string[]
29 29
      */
30 30
     public function via($notifiable)
31 31
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
      */
30 30
     public function via($notifiable)
31 31
     {
32
-        return ['nexmo'];
32
+        return [ 'nexmo' ];
33 33
     }
34 34
 
35 35
     /**
Please login to merge, or discard this patch.
app/Http/Controllers/Auth/RegisterController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -63,9 +63,9 @@
 block discarded – undo
63 63
     protected function create(array $data)
64 64
     {
65 65
         return User::create([
66
-            'name' => $data['name'],
67
-            'email' => $data['email'],
68
-            'password' => bcrypt($data['password']),
66
+            'name' => $data[ 'name' ],
67
+            'email' => $data[ 'email' ],
68
+            'password' => bcrypt($data[ 'password' ]),
69 69
         ]);
70 70
     }
71 71
 }
Please login to merge, or discard this patch.
app/Http/Controllers/Auth/LoginController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,6 +34,6 @@
 block discarded – undo
34 34
      */
35 35
     public function __construct()
36 36
     {
37
-        $this->middleware('guest', ['except' => 'logout']);
37
+        $this->middleware('guest', [ 'except' => 'logout' ]);
38 38
     }
39 39
 }
Please login to merge, or discard this patch.
app/Exceptions/Handler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
     protected function unauthenticated($request, AuthenticationException $exception)
58 58
     {
59 59
         if ($request->expectsJson()) {
60
-            return response()->json(['error' => 'Unauthenticated.'], 401);
60
+            return response()->json([ 'error' => 'Unauthenticated.' ], 401);
61 61
         }
62 62
 
63 63
         return redirect()->guest(route('login'));
Please login to merge, or discard this patch.
app/DataTables/UsersDataTable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,6 +78,6 @@
 block discarded – undo
78 78
      */
79 79
     protected function filename()
80 80
     {
81
-        return 'users_' . time();
81
+        return 'users_'.time();
82 82
     }
83 83
 }
Please login to merge, or discard this patch.
app/Http/Controllers/UserController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
      * Store a new user.
61 61
      *
62 62
      * @param  Request  $request
63
-     * @return Response
63
+     * @return \Illuminate\Http\RedirectResponse
64 64
      */
65 65
     public function store(Request $request)
66 66
     {
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      *
85 85
      * @param  Request  $request
86 86
      * @param  string  $id
87
-     * @return Response
87
+     * @return \Illuminate\Http\RedirectResponse
88 88
      */
89 89
     public function update(Request $request, $id)
90 90
     {
Please login to merge, or discard this patch.
app/Policies/UserPolicy.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      *
29 29
      * @param  \App\User  $user
30 30
      * @param  \App\User  $user
31
-     * @return mixed
31
+     * @return boolean
32 32
      */
33 33
     public function view(User $user, User $user)
34 34
     {
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
      * Determine whether the user can create users.
41 41
      *
42 42
      * @param  \App\User  $user
43
-     * @return mixed
43
+     * @return boolean
44 44
      */
45 45
     public function create(User $user)
46 46
     {
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
      *
54 54
      * @param  \App\User  $user
55 55
      * @param  \App\User  $user
56
-     * @return mixed
56
+     * @return boolean
57 57
      */
58 58
     public function update(User $user, User $user)
59 59
     {
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
      *
68 68
      * @param  \App\User  $user
69 69
      * @param  \App\User  $user
70
-     * @return mixed
70
+     * @return boolean
71 71
      */
72 72
     public function delete(User $user, User $user)
73 73
     {
Please login to merge, or discard this patch.