@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | /** |
62 | 62 | * Check if the logged in user has the given group. |
63 | 63 | * |
64 | - * @param array $groups |
|
64 | + * @param string[] $groups |
|
65 | 65 | * @param mixed $user |
66 | 66 | * @return boolean |
67 | 67 | */ |
@@ -155,7 +155,7 @@ discard block |
||
155 | 155 | * |
156 | 156 | * @param array $credentials |
157 | 157 | * @param boolean $skipConfirmEmail |
158 | - * @return array |
|
158 | + * @return boolean |
|
159 | 159 | */ |
160 | 160 | public function register($credentials, $skipConfirmEmail = false) |
161 | 161 | { |
@@ -246,7 +246,7 @@ discard block |
||
246 | 246 | * Reset the given user's password. |
247 | 247 | * |
248 | 248 | * @param array $credentials |
249 | - * @return array |
|
249 | + * @return string|null |
|
250 | 250 | */ |
251 | 251 | public function resetPassword($credentials) |
252 | 252 | { |
@@ -32,7 +32,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 | */ |
@@ -198,7 +198,7 @@ discard block |
||
198 | 198 | * Save the given model to the storage. |
199 | 199 | * |
200 | 200 | * @param array $data |
201 | - * @return mixed |
|
201 | + * @return boolean |
|
202 | 202 | */ |
203 | 203 | public function save(array $data) |
204 | 204 | { |
@@ -517,7 +517,7 @@ discard block |
||
517 | 517 | * id. |
518 | 518 | * |
519 | 519 | * @param integer $id |
520 | - * @param array $relations |
|
520 | + * @param string[] $relations |
|
521 | 521 | * @param array $columns |
522 | 522 | * @return object |
523 | 523 | */ |
@@ -533,7 +533,7 @@ discard block |
||
533 | 533 | * @param array $conditions array of conditions |
534 | 534 | * @param array $relations |
535 | 535 | * @param string $sortBy |
536 | - * @param boolean $desc |
|
536 | + * @param integer $desc |
|
537 | 537 | * @param array $columns |
538 | 538 | * @return collection |
539 | 539 | */ |
@@ -565,7 +565,7 @@ discard block |
||
565 | 565 | * @param array $conditions array of conditions |
566 | 566 | * @param integer $perPage |
567 | 567 | * @param string $sortBy |
568 | - * @param boolean $desc |
|
568 | + * @param integer $desc |
|
569 | 569 | * @param array $columns |
570 | 570 | * @return collection |
571 | 571 | */ |
@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | * based on the docblock. |
125 | 125 | * |
126 | 126 | * @param array &$route |
127 | - * @param object $reflectionMethod |
|
127 | + * @param \ReflectionMethod $reflectionMethod |
|
128 | 128 | * @return void |
129 | 129 | */ |
130 | 130 | protected function processDocBlock(&$route, $reflectionMethod) |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | * Generate post body for the given route. |
149 | 149 | * |
150 | 150 | * @param array &$route |
151 | - * @param object $reflectionMethod |
|
151 | + * @param \ReflectionMethod $reflectionMethod |
|
152 | 152 | * @param array $validationRules |
153 | 153 | * @return void |
154 | 154 | */ |
@@ -24,7 +24,7 @@ |
||
24 | 24 | * Get the notification's delivery channels. |
25 | 25 | * |
26 | 26 | * @param mixed $notifiable |
27 | - * @return array |
|
27 | + * @return string[] |
|
28 | 28 | */ |
29 | 29 | public function via($notifiable) |
30 | 30 | { |
@@ -26,7 +26,7 @@ |
||
26 | 26 | * Get the notification's delivery channels. |
27 | 27 | * |
28 | 28 | * @param mixed $notifiable |
29 | - * @return array |
|
29 | + * @return string[] |
|
30 | 30 | */ |
31 | 31 | public function via($notifiable) |
32 | 32 | { |