@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | /** |
80 | 80 | * Display a listing of the resource. |
81 | 81 | * |
82 | - * @return \Illuminate\Http\Response |
|
82 | + * @return \Illuminate\Http\JsonResponse |
|
83 | 83 | */ |
84 | 84 | public function get() |
85 | 85 | { |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | /** |
105 | 105 | * Show the form for creating a new resource. |
106 | 106 | * |
107 | - * @return \Illuminate\Http\Response |
|
107 | + * @return \Illuminate\Http\JsonResponse |
|
108 | 108 | */ |
109 | 109 | public function create() |
110 | 110 | { |
@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | * Store a newly created resource in storage. |
157 | 157 | * |
158 | 158 | * @param \Illuminate\Http\Request $request |
159 | - * @return \Illuminate\Http\Response |
|
159 | + * @return \Illuminate\Http\JsonResponse |
|
160 | 160 | */ |
161 | 161 | public function store(Request $request) |
162 | 162 | { |
@@ -222,8 +222,7 @@ discard block |
||
222 | 222 | /** |
223 | 223 | * Display the specified resource. |
224 | 224 | * |
225 | - * @param \App\Nilai $nilai |
|
226 | - * @return \Illuminate\Http\Response |
|
225 | + * @return \Illuminate\Http\JsonResponse |
|
227 | 226 | */ |
228 | 227 | public function show($id) |
229 | 228 | { |
@@ -240,8 +239,7 @@ discard block |
||
240 | 239 | /** |
241 | 240 | * Show the form for editing the specified resource. |
242 | 241 | * |
243 | - * @param \App\Nilai $nilai |
|
244 | - * @return \Illuminate\Http\Response |
|
242 | + * @return \Illuminate\Http\JsonResponse |
|
245 | 243 | */ |
246 | 244 | public function edit($id) |
247 | 245 | { |
@@ -297,8 +295,7 @@ discard block |
||
297 | 295 | * Update the specified resource in storage. |
298 | 296 | * |
299 | 297 | * @param \Illuminate\Http\Request $request |
300 | - * @param \App\Nilai $nilai |
|
301 | - * @return \Illuminate\Http\Response |
|
298 | + * @return \Illuminate\Http\JsonResponse |
|
302 | 299 | */ |
303 | 300 | public function update(Request $request, $id) |
304 | 301 | { |
@@ -364,8 +361,7 @@ discard block |
||
364 | 361 | /** |
365 | 362 | * Remove the specified resource from storage. |
366 | 363 | * |
367 | - * @param \App\Nilai $nilai |
|
368 | - * @return \Illuminate\Http\Response |
|
364 | + * @return string |
|
369 | 365 | */ |
370 | 366 | public function destroy($id) |
371 | 367 | { |
@@ -6,7 +6,6 @@ |
||
6 | 6 | use App\Http\Controllers\Controller; |
7 | 7 | use Illuminate\Http\Request; |
8 | 8 | use Illuminate\Support\Facades\DB; |
9 | -use Bantenprov\Nilai\Facades\NilaiFacade; |
|
10 | 9 | |
11 | 10 | /* Models */ |
12 | 11 | use Bantenprov\Nilai\Models\Bantenprov\Nilai\Akademik; |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | /** |
45 | 45 | * Display a listing of the resource. |
46 | 46 | * |
47 | - * @return \Illuminate\Http\Response |
|
47 | + * @return \Illuminate\Http\JsonResponse |
|
48 | 48 | */ |
49 | 49 | public function index(Request $request) |
50 | 50 | { |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | /** |
77 | 77 | * Display a listing of the resource. |
78 | 78 | * |
79 | - * @return \Illuminate\Http\Response |
|
79 | + * @return \Illuminate\Http\JsonResponse |
|
80 | 80 | */ |
81 | 81 | public function get() |
82 | 82 | { |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | /** |
102 | 102 | * Show the form for creating a new resource. |
103 | 103 | * |
104 | - * @return \Illuminate\Http\Response |
|
104 | + * @return \Illuminate\Http\JsonResponse |
|
105 | 105 | */ |
106 | 106 | public function create() |
107 | 107 | { |
@@ -153,7 +153,7 @@ discard block |
||
153 | 153 | * Store a newly created resource in storage. |
154 | 154 | * |
155 | 155 | * @param \Illuminate\Http\Request $request |
156 | - * @return \Illuminate\Http\Response |
|
156 | + * @return \Illuminate\Http\JsonResponse |
|
157 | 157 | */ |
158 | 158 | public function store(Request $request) |
159 | 159 | { |
@@ -199,8 +199,7 @@ discard block |
||
199 | 199 | /** |
200 | 200 | * Display the specified resource. |
201 | 201 | * |
202 | - * @param \App\Nilai $nilai |
|
203 | - * @return \Illuminate\Http\Response |
|
202 | + * @return \Illuminate\Http\JsonResponse |
|
204 | 203 | */ |
205 | 204 | public function show($id) |
206 | 205 | { |
@@ -217,8 +216,7 @@ discard block |
||
217 | 216 | /** |
218 | 217 | * Show the form for editing the specified resource. |
219 | 218 | * |
220 | - * @param \App\Nilai $nilai |
|
221 | - * @return \Illuminate\Http\Response |
|
219 | + * @return \Illuminate\Http\JsonResponse |
|
222 | 220 | */ |
223 | 221 | public function edit($id) |
224 | 222 | { |
@@ -274,8 +272,7 @@ discard block |
||
274 | 272 | * Update the specified resource in storage. |
275 | 273 | * |
276 | 274 | * @param \Illuminate\Http\Request $request |
277 | - * @param \App\Nilai $nilai |
|
278 | - * @return \Illuminate\Http\Response |
|
275 | + * @return \Illuminate\Http\JsonResponse |
|
279 | 276 | */ |
280 | 277 | public function update(Request $request, $id) |
281 | 278 | { |
@@ -321,8 +318,7 @@ discard block |
||
321 | 318 | /** |
322 | 319 | * Remove the specified resource from storage. |
323 | 320 | * |
324 | - * @param \App\Nilai $nilai |
|
325 | - * @return \Illuminate\Http\Response |
|
321 | + * @return string |
|
326 | 322 | */ |
327 | 323 | public function destroy($id) |
328 | 324 | { |
@@ -5,8 +5,6 @@ |
||
5 | 5 | /* Require */ |
6 | 6 | use App\Http\Controllers\Controller; |
7 | 7 | use Illuminate\Http\Request; |
8 | -use Illuminate\Support\Facades\DB; |
|
9 | -use Bantenprov\Nilai\Facades\NilaiFacade; |
|
10 | 8 | |
11 | 9 | /* Models */ |
12 | 10 | use Bantenprov\Nilai\Models\Bantenprov\Nilai\Nilai; |