@@ -319,7 +319,7 @@ |
||
319 | 319 | * Redirects to the show route for the model if one exists. |
320 | 320 | * @param Request $request |
321 | 321 | * @param mixed $data |
322 | - * @return RedirectResponse|Redirector|null |
|
322 | + * @return null|RedirectResponse |
|
323 | 323 | */ |
324 | 324 | protected function redirectToShowRoute(Request $request, $data) |
325 | 325 | { |
@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | /** |
23 | 23 | * Append attributes to query when building a query. |
24 | 24 | * |
25 | - * @param string[]|string $attributes |
|
25 | + * @param string $attributes |
|
26 | 26 | * @return $this |
27 | 27 | */ |
28 | 28 | abstract public function append($attributes); |
@@ -140,7 +140,7 @@ discard block |
||
140 | 140 | /** |
141 | 141 | * Get the value of the model's route key. |
142 | 142 | * |
143 | - * @return mixed |
|
143 | + * @return string |
|
144 | 144 | */ |
145 | 145 | public function getRouteKey() |
146 | 146 | { |