@@ -265,7 +265,7 @@ discard block |
||
265 | 265 | * |
266 | 266 | * @param $id |
267 | 267 | * |
268 | - * @return mixed |
|
268 | + * @return boolean |
|
269 | 269 | */ |
270 | 270 | public function destroy($id) |
271 | 271 | { |
@@ -304,7 +304,7 @@ discard block |
||
304 | 304 | /** |
305 | 305 | * Store a new record. |
306 | 306 | * |
307 | - * @return \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector|\Illuminate\Http\JsonResponse |
|
307 | + * @return Response |
|
308 | 308 | */ |
309 | 309 | public function store() |
310 | 310 | { |
@@ -369,7 +369,7 @@ discard block |
||
369 | 369 | * |
370 | 370 | * @param array $data |
371 | 371 | * |
372 | - * @return mixed |
|
372 | + * @return Response|null |
|
373 | 373 | */ |
374 | 374 | protected function prepare($data = []) |
375 | 375 | { |
@@ -547,7 +547,7 @@ discard block |
||
547 | 547 | /** |
548 | 548 | * Get RedirectResponse after update. |
549 | 549 | * |
550 | - * @param mixed $key |
|
550 | + * @param integer $key |
|
551 | 551 | * @return \Illuminate\Http\RedirectResponse |
552 | 552 | */ |
553 | 553 | protected function redirectAfterUpdate($key) |
@@ -411,7 +411,7 @@ discard block |
||
411 | 411 | /** |
412 | 412 | * Resolve perPage for pagination. |
413 | 413 | * |
414 | - * @param array|null $paginate |
|
414 | + * @param Model $paginate |
|
415 | 415 | * |
416 | 416 | * @return array |
417 | 417 | */ |
@@ -441,7 +441,7 @@ discard block |
||
441 | 441 | /** |
442 | 442 | * Find query by method name. |
443 | 443 | * |
444 | - * @param $method |
|
444 | + * @param string $method |
|
445 | 445 | * |
446 | 446 | * @return static |
447 | 447 | */ |
@@ -534,7 +534,7 @@ discard block |
||
534 | 534 | * |
535 | 535 | * @throws \Exception |
536 | 536 | * |
537 | - * @return array |
|
537 | + * @return string[] |
|
538 | 538 | */ |
539 | 539 | protected function joinParameters(Relation $relation) |
540 | 540 | { |