Completed
Push — 2.0 ( 190fc6...090eab )
by Nicolas
18:52
created
Http/Controllers/Admin/UserController.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
      * Store a newly created resource in storage.
73 73
      *
74 74
      * @param  CreateUserRequest $request
75
-     * @return Response
75
+     * @return \Illuminate\Http\RedirectResponse
76 76
      */
77 77
     public function store(CreateUserRequest $request)
78 78
     {
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
      *
111 111
      * @param  int               $id
112 112
      * @param  UpdateUserRequest $request
113
-     * @return Response
113
+     * @return \Illuminate\Http\RedirectResponse
114 114
      */
115 115
     public function update($id, UpdateUserRequest $request)
116 116
     {
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
      * Remove the specified resource from storage.
128 128
      *
129 129
      * @param  int      $id
130
-     * @return Response
130
+     * @return \Illuminate\Http\RedirectResponse
131 131
      */
132 132
     public function destroy($id)
133 133
     {
Please login to merge, or discard this patch.
Providers/RouteServiceProvider.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     }
29 29
 
30 30
     /**
31
-     * @return string
31
+     * @return boolean
32 32
      */
33 33
     protected function getApiRoute()
34 34
     {
Please login to merge, or discard this patch.
Repositories/Sentry/SentryAuthentication.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      * Authenticate a user
18 18
      * @param  array $credentials
19 19
      * @param  bool  $remember    Remember the user
20
-     * @return mixed
20
+     * @return false|string
21 21
      */
22 22
     public function login(array $credentials, $remember = false)
23 23
     {
Please login to merge, or discard this patch.
Entities/Usher/User.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
     }
40 40
 
41 41
     /**
42
-     * @param ArrayCollection|Role[] $roles
42
+     * @param ArrayCollection $roles
43 43
      */
44 44
     public function setRoles(ArrayCollection $roles)
45 45
     {
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
     /**
96 96
      * Checks if a user belongs to the given Role ID
97 97
      * @param  int $roleId
98
-     * @return bool
98
+     * @return boolean|null
99 99
      */
100 100
     public function hasRoleId($roleId)
101 101
     {
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
     /**
105 105
      * Checks if a user belongs to the given Role Name
106 106
      * @param  string $name
107
-     * @return bool
107
+     * @return boolean|null
108 108
      */
109 109
     public function hasRoleName($name)
110 110
     {
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
 
113 113
     /**
114 114
      * Check if the current user is activated
115
-     * @return bool
115
+     * @return boolean|null
116 116
      */
117 117
     public function isActivated()
118 118
     {
Please login to merge, or discard this patch.
Http/Controllers/Admin/RolesController.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
      * Store a newly created resource in storage.
73 73
      *
74 74
      * @param  CreateUserRequest $request
75
-     * @return Response
75
+     * @return \Illuminate\Http\RedirectResponse
76 76
      */
77 77
     public function store(CreateUserRequest $request)
78 78
     {
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
      *
111 111
      * @param  int               $id
112 112
      * @param  UpdateUserRequest $request
113
-     * @return Response
113
+     * @return \Illuminate\Http\RedirectResponse
114 114
      */
115 115
     public function update($id, UpdateUserRequest $request)
116 116
     {
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
      * Remove the specified resource from storage.
128 128
      *
129 129
      * @param  int      $id
130
-     * @return Response
130
+     * @return \Illuminate\Http\RedirectResponse
131 131
      */
132 132
     public function destroy($id)
133 133
     {
Please login to merge, or discard this patch.
Repositories/Usher/UsherAuthentication.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
      * @param         $user
104 104
      * @param  string $code
105 105
      * @param  string $password
106
-     * @return bool
106
+     * @return boolean|null
107 107
      */
108 108
     public function completeResetPassword($user, $code, $password)
109 109
     {
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
 
123 123
     /**
124 124
      * Check if the user is logged in
125
-     * @return mixed
125
+     * @return \Illuminate\Contracts\Auth\Authenticatable|null
126 126
      */
127 127
     public function check()
128 128
     {
Please login to merge, or discard this patch.