@@ -32,7 +32,7 @@ |
||
| 32 | 32 | * |
| 33 | 33 | * @param Request $request |
| 34 | 34 | * |
| 35 | - * @return mixed |
|
| 35 | + * @return \Illuminate\Http\JsonResponse |
|
| 36 | 36 | */ |
| 37 | 37 | public function index(Request $request) |
| 38 | 38 | { |
@@ -10,7 +10,7 @@ discard block |
||
| 10 | 10 | * @param Model $query |
| 11 | 11 | * @param int $id |
| 12 | 12 | * |
| 13 | - * @return mixed |
|
| 13 | + * @return boolean |
|
| 14 | 14 | */ |
| 15 | 15 | protected function transformDestroyQuery($query, $id) |
| 16 | 16 | { |
@@ -35,8 +35,8 @@ discard block |
||
| 35 | 35 | /** |
| 36 | 36 | * Override it to transform the destroy response. |
| 37 | 37 | * |
| 38 | - * @param bool $query |
|
| 39 | 38 | * |
| 39 | + * @param boolean $response |
|
| 40 | 40 | * @return array |
| 41 | 41 | */ |
| 42 | 42 | protected function transformDestroyResponse($response) |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | * |
| 64 | 64 | * @param int $id |
| 65 | 65 | * |
| 66 | - * @return mixed |
|
| 66 | + * @return \Illuminate\Http\JsonResponse |
|
| 67 | 67 | */ |
| 68 | 68 | public function destroy($id) |
| 69 | 69 | { |
@@ -54,7 +54,6 @@ discard block |
||
| 54 | 54 | /** |
| 55 | 55 | * Override it to transform the store response. |
| 56 | 56 | * |
| 57 | - * @param Request $request |
|
| 58 | 57 | * @param string $method |
| 59 | 58 | * |
| 60 | 59 | * @return array |
@@ -67,7 +66,6 @@ discard block |
||
| 67 | 66 | /** |
| 68 | 67 | * Override it to transform the update response. |
| 69 | 68 | * |
| 70 | - * @param Request $request |
|
| 71 | 69 | * @param string $method |
| 72 | 70 | * |
| 73 | 71 | * @return array |
@@ -10,7 +10,7 @@ discard block |
||
| 10 | 10 | * @param Model $query |
| 11 | 11 | * @param int $id |
| 12 | 12 | * |
| 13 | - * @return mixed |
|
| 13 | + * @return boolean |
|
| 14 | 14 | */ |
| 15 | 15 | protected function transformShowQuery($query, $id) |
| 16 | 16 | { |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | * |
| 62 | 62 | * @param int $id |
| 63 | 63 | * |
| 64 | - * @return mixed |
|
| 64 | + * @return \Illuminate\Http\JsonResponse |
|
| 65 | 65 | */ |
| 66 | 66 | public function show($id) |
| 67 | 67 | { |