@@ -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 | { |
@@ -33,9 +33,8 @@ discard block |
||
33 | 33 | /** |
34 | 34 | * Override it to transform the show response. |
35 | 35 | * |
36 | - * @param bool $query |
|
37 | 36 | * |
38 | - * @return array |
|
37 | + * @return boolean |
|
39 | 38 | */ |
40 | 39 | protected function transformShowResponse($response) |
41 | 40 | { |
@@ -47,7 +46,7 @@ discard block |
||
47 | 46 | * |
48 | 47 | * @param bool $response |
49 | 48 | * |
50 | - * @return array |
|
49 | + * @return boolean |
|
51 | 50 | */ |
52 | 51 | public function showResponse($response) |
53 | 52 | { |
@@ -59,7 +58,7 @@ discard block |
||
59 | 58 | * |
60 | 59 | * @param int $id |
61 | 60 | * |
62 | - * @return mixed |
|
61 | + * @return \Illuminate\Http\JsonResponse |
|
63 | 62 | */ |
64 | 63 | public function show($id) |
65 | 64 | { |