@@ -5,7 +5,6 @@ |
||
5 | 5 | /* Require */ |
6 | 6 | use App\Http\Controllers\Controller; |
7 | 7 | use Illuminate\Http\Request; |
8 | -use Bantenprov\Nilai\Facades\NilaiFacade; |
|
9 | 8 | |
10 | 9 | /* Models */ |
11 | 10 | use Bantenprov\Nilai\Models\Bantenprov\Nilai\Akademik; |
@@ -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 | { |
@@ -98,8 +98,7 @@ discard block |
||
98 | 98 | /** |
99 | 99 | * Display the specified resource. |
100 | 100 | * |
101 | - * @param \App\Nilai $nilai |
|
102 | - * @return \Illuminate\Http\Response |
|
101 | + * @return \Illuminate\Http\JsonResponse |
|
103 | 102 | */ |
104 | 103 | public function store(Request $request) |
105 | 104 | { |
@@ -150,8 +149,7 @@ discard block |
||
150 | 149 | /** |
151 | 150 | * Store a newly created resource in storage. |
152 | 151 | * |
153 | - * @param \Illuminate\Http\Request $request |
|
154 | - * @return \Illuminate\Http\Response |
|
152 | + * @return \Illuminate\Http\JsonResponse |
|
155 | 153 | */ |
156 | 154 | public function show($id) |
157 | 155 | { |
@@ -168,8 +166,7 @@ discard block |
||
168 | 166 | /** |
169 | 167 | * Show the form for editing the specified resource. |
170 | 168 | * |
171 | - * @param \App\Nilai $nilai |
|
172 | - * @return \Illuminate\Http\Response |
|
169 | + * @return \Illuminate\Http\JsonResponse |
|
173 | 170 | */ |
174 | 171 | public function edit($id) |
175 | 172 | { |
@@ -190,8 +187,7 @@ discard block |
||
190 | 187 | * Update the specified resource in storage. |
191 | 188 | * |
192 | 189 | * @param \Illuminate\Http\Request $request |
193 | - * @param \App\Nilai $nilai |
|
194 | - * @return \Illuminate\Http\Response |
|
190 | + * @return \Illuminate\Http\JsonResponse |
|
195 | 191 | */ |
196 | 192 | public function update(Request $request, $id) |
197 | 193 | { |
@@ -254,8 +250,7 @@ discard block |
||
254 | 250 | /** |
255 | 251 | * Remove the specified resource from storage. |
256 | 252 | * |
257 | - * @param \App\Nilai $nilai |
|
258 | - * @return \Illuminate\Http\Response |
|
253 | + * @return string |
|
259 | 254 | */ |
260 | 255 | public function destroy($id) |
261 | 256 | { |