Completed
Push — master ( 9ecb5e...97e3cb )
by Sherif
13:30
created
src/Modules/V1/Acl/Http/Controllers/UsersController.php 1 patch
Doc Comments   +15 added lines, -15 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     /**
57 57
      * Return the logged in user account.
58 58
      * 
59
-     * @return \Illuminate\Http\Response
59
+     * @return \Illuminate\Http\JsonResponse
60 60
      */
61 61
     public function account()
62 62
     {
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
      * Block the user.
68 68
      *
69 69
      * @param  integer  $id Id of the user.
70
-     * @return \Illuminate\Http\Response
70
+     * @return \Illuminate\Http\JsonResponse
71 71
      */
72 72
     public function block($id)
73 73
     {
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
      * Unblock the user.
79 79
      *
80 80
      * @param  integer  $id Id of the user.
81
-     * @return \Illuminate\Http\Response
81
+     * @return \Illuminate\Http\JsonResponse
82 82
      */
83 83
     public function unblock($id)
84 84
     {
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
     /**
89 89
      * Logout the user.
90 90
      * 
91
-     * @return \Illuminate\Http\Response
91
+     * @return \Illuminate\Http\JsonResponse
92 92
      */
93 93
     public function logout()
94 94
     {
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
      * Handle a registration request.
100 100
      *
101 101
      * @param  \Illuminate\Http\Request  $request
102
-     * @return \Illuminate\Http\Response
102
+     * @return \Illuminate\Http\JsonResponse
103 103
      */
104 104
     public function register(Request $request)
105 105
     {
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
      * Handle a login request to the application.
117 117
      *
118 118
      * @param  \Illuminate\Http\Request  $request
119
-     * @return \Illuminate\Http\Response
119
+     * @return \Illuminate\Http\JsonResponse
120 120
      */
121 121
     public function login(Request $request)
122 122
     {
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
      * Handle a social login request of the none admin to the application.
134 134
      *
135 135
      * @param  \Illuminate\Http\Request  $request
136
-     * @return \Illuminate\Http\Response
136
+     * @return \Illuminate\Http\JsonResponse
137 137
      */
138 138
     public function loginSocial(Request $request)
139 139
     {
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
      * Assign the given groups to the given user.
151 151
      *
152 152
      * @param  \Illuminate\Http\Request  $request
153
-     * @return \Illuminate\Http\Response
153
+     * @return \Illuminate\Http\JsonResponse
154 154
      */
155 155
     public function assigngroups(Request $request)
156 156
     {
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
      * Send a reset link to the given user.
167 167
      *
168 168
      * @param  \Illuminate\Http\Request  $request
169
-     * @return \Illuminate\Http\Response
169
+     * @return \Illuminate\Http\JsonResponse
170 170
      */
171 171
     public function sendreset(Request $request)
172 172
     {
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
      * Reset the given user's password.
180 180
      *
181 181
      * @param  \Illuminate\Http\Request  $request
182
-     * @return \Illuminate\Http\Response
182
+     * @return \Illuminate\Http\JsonResponse
183 183
      */
184 184
     public function resetpassword(Request $request)
185 185
     {
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
      * Change the logged in user password.
198 198
      *
199 199
      * @param  \Illuminate\Http\Request  $request
200
-     * @return \Illuminate\Http\Response
200
+     * @return \Illuminate\Http\JsonResponse
201 201
      */
202 202
     public function changePassword(Request $request)
203 203
     {
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
      * Refresh the expired login token.
215 215
      *
216 216
      * @param  string $refreshToken
217
-     * @return \Illuminate\Http\Response
217
+     * @return \Illuminate\Http\JsonResponse
218 218
      */
219 219
     public function refreshtoken($refreshToken)
220 220
     {
@@ -228,8 +228,8 @@  discard block
 block discarded – undo
228 228
      * @param  string $groupName The name of the requested group.
229 229
      * @param  integer $perPage  Number of rows per page default 15.
230 230
      * @param  string  $sortBy   The name of the column to sort by.
231
-     * @param  boolean $desc     Sort ascending or descinding (1: desc, 0: asc).
232
-     * @return \Illuminate\Http\Response
231
+     * @param  integer $desc     Sort ascending or descinding (1: desc, 0: asc).
232
+     * @return \Illuminate\Http\JsonResponse
233 233
      */
234 234
     public function group(Request $request, $groupName, $perPage = false, $sortBy = 'created_at', $desc = 1)
235 235
     {
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
      * Save the given data to the logged in user.
241 241
      *
242 242
      * @param  \Illuminate\Http\Request  $request
243
-     * @return \Illuminate\Http\Response
243
+     * @return \Illuminate\Http\JsonResponse|null
244 244
      */
245 245
     public function saveProfile(Request $request) 
246 246
     {
Please login to merge, or discard this patch.
src/Modules/V1/Core/AbstractRepositories/AbstractRepository.php 1 patch
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
      *
33 33
      * @param  array   $relations
34 34
      * @param  string  $sortBy
35
-     * @param  boolean $desc
35
+     * @param  integer $desc
36 36
      * @param  array   $columns
37 37
      * @return collection
38 38
      */
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      * @param  integer $perPage
51 51
      * @param  array   $relations
52 52
      * @param  string  $sortBy
53
-     * @param  boolean $desc
53
+     * @param  integer $desc
54 54
      * @param  array   $columns
55 55
      * @return collection
56 56
      */
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
      * @param  integer $perPage
165 165
      * @param  array   $relations
166 166
      * @param  string  $sortBy
167
-     * @param  boolean $desc
167
+     * @param  integer $desc
168 168
      * @param  array   $columns
169 169
      * @return collection
170 170
      */
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
      * @param  integer $perPage
183 183
      * @param  array   $relations
184 184
      * @param  string  $sortBy
185
-     * @param  boolean $desc
185
+     * @param  integer $desc
186 186
      * @param  array   $columns
187 187
      * @return collection
188 188
      */
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
     /**
198 198
      * Save the given model to the storage.
199 199
      * 
200
-     * @param  array   $data
200
+     * @param  string   $data
201 201
      * @return void
202 202
      */
203 203
     public function save(array $data)
@@ -442,7 +442,7 @@  discard block
 block discarded – undo
442 442
      * Update record in the storage based on the given
443 443
      * condition.
444 444
      * 
445
-     * @param  var $value condition value
445
+     * @param  integer $value condition value
446 446
      * @param  array $data
447 447
      * @param  string $attribute condition column name
448 448
      * @return void
@@ -515,7 +515,7 @@  discard block
 block discarded – undo
515 515
      * @param  array   $conditions array of conditions
516 516
      * @param  array   $relations
517 517
      * @param  string  $sortBy
518
-     * @param  boolean $desc
518
+     * @param  integer $desc
519 519
      * @param  array   $columns
520 520
      * @return collection
521 521
      */
@@ -547,7 +547,7 @@  discard block
 block discarded – undo
547 547
      * @param  array   $conditions array of conditions
548 548
      * @param  integer $perPage
549 549
      * @param  string  $sortBy
550
-     * @param  boolean $desc
550
+     * @param  integer $desc
551 551
      * @param  array   $columns
552 552
      * @return collection
553 553
      */
Please login to merge, or discard this patch.
src/Modules/V1/Core/Console/Commands/GenerateDoc.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,6 +123,7 @@  discard block
 block discarded – undo
123 123
      * 
124 124
      * @param  array  &$route
125 125
      * @param  object $reflectionMethod]
126
+     * @param \ReflectionMethod $reflectionMethod
126 127
      * @return void
127 128
      */
128 129
     protected function processDocBlock(&$route, $reflectionMethod)
@@ -145,7 +146,7 @@  discard block
 block discarded – undo
145 146
      * Generate post body for the given route.
146 147
      * 
147 148
      * @param  array  &$route
148
-     * @param  object $reflectionMethod
149
+     * @param  \ReflectionMethod $reflectionMethod
149 150
      * @param  array  $validationRules
150 151
      * @return void
151 152
      */
Please login to merge, or discard this patch.