@@ -277,7 +277,7 @@ |
||
277 | 277 | * Redirects to the show route for the model if one exists. |
278 | 278 | * @param Request $request |
279 | 279 | * @param mixed $data |
280 | - * @return RedirectResponse|Redirector|null |
|
280 | + * @return null|RedirectResponse |
|
281 | 281 | */ |
282 | 282 | private function redirectToShowRoute(Request $request, $data) |
283 | 283 | { |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | /** |
22 | 22 | * Append attributes to query when building a query. |
23 | 23 | * |
24 | - * @param string[]|string $attributes |
|
24 | + * @param string $attributes |
|
25 | 25 | * @return $this |
26 | 26 | */ |
27 | 27 | abstract public function append($attributes); |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | /** |
30 | 30 | * Get the value of the model's route key. |
31 | 31 | * |
32 | - * @return mixed |
|
32 | + * @return string |
|
33 | 33 | */ |
34 | 34 | abstract public function getRouteKey(); |
35 | 35 |