@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | /** |
43 | 43 | * Display a listing of the resource. |
44 | 44 | * |
45 | - * @return \Illuminate\Http\Response |
|
45 | + * @return \Illuminate\Http\JsonResponse |
|
46 | 46 | */ |
47 | 47 | public function index(Request $request) |
48 | 48 | { |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | /** |
74 | 74 | * Show the form for creating a new resource. |
75 | 75 | * |
76 | - * @return \Illuminate\Http\Response |
|
76 | + * @return \Illuminate\Http\JsonResponse |
|
77 | 77 | */ |
78 | 78 | public function create() |
79 | 79 | { |
@@ -114,8 +114,7 @@ discard block |
||
114 | 114 | /** |
115 | 115 | * Display the specified resource. |
116 | 116 | * |
117 | - * @param \App\Nilai $nilai |
|
118 | - * @return \Illuminate\Http\Response |
|
117 | + * @return \Illuminate\Http\JsonResponse |
|
119 | 118 | */ |
120 | 119 | public function store(Request $request) |
121 | 120 | { |
@@ -166,8 +165,7 @@ discard block |
||
166 | 165 | /** |
167 | 166 | * Store a newly created resource in storage. |
168 | 167 | * |
169 | - * @param \Illuminate\Http\Request $request |
|
170 | - * @return \Illuminate\Http\Response |
|
168 | + * @return \Illuminate\Http\JsonResponse |
|
171 | 169 | */ |
172 | 170 | public function show($id) |
173 | 171 | { |
@@ -184,8 +182,7 @@ discard block |
||
184 | 182 | /** |
185 | 183 | * Show the form for editing the specified resource. |
186 | 184 | * |
187 | - * @param \App\Nilai $nilai |
|
188 | - * @return \Illuminate\Http\Response |
|
185 | + * @return \Illuminate\Http\JsonResponse |
|
189 | 186 | */ |
190 | 187 | public function edit($id) |
191 | 188 | { |
@@ -206,8 +203,7 @@ discard block |
||
206 | 203 | * Update the specified resource in storage. |
207 | 204 | * |
208 | 205 | * @param \Illuminate\Http\Request $request |
209 | - * @param \App\Nilai $nilai |
|
210 | - * @return \Illuminate\Http\Response |
|
206 | + * @return \Illuminate\Http\JsonResponse |
|
211 | 207 | */ |
212 | 208 | public function update(Request $request, $id) |
213 | 209 | { |
@@ -270,8 +266,7 @@ discard block |
||
270 | 266 | /** |
271 | 267 | * Remove the specified resource from storage. |
272 | 268 | * |
273 | - * @param \App\Nilai $nilai |
|
274 | - * @return \Illuminate\Http\Response |
|
269 | + * @return string |
|
275 | 270 | */ |
276 | 271 | public function destroy($id) |
277 | 272 | { |