@@ -89,6 +89,10 @@ |
||
89 | 89 | } |
90 | 90 | |
91 | 91 | /* text color: orange */ |
92 | + |
|
93 | + /** |
|
94 | + * @param string $text |
|
95 | + */ |
|
92 | 96 | protected function orangeText($text) |
93 | 97 | { |
94 | 98 | printf($this->ORANGE.$text.$this->NC); |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | /** |
80 | 80 | * Show the form for creating a new resource. |
81 | 81 | * |
82 | - * @return \Illuminate\Http\Response |
|
82 | + * @return \Illuminate\Http\JsonResponse |
|
83 | 83 | */ |
84 | 84 | public function create() |
85 | 85 | { |
@@ -116,8 +116,7 @@ discard block |
||
116 | 116 | /** |
117 | 117 | * Display the specified resource. |
118 | 118 | * |
119 | - * @param \App\Nilai $nilai |
|
120 | - * @return \Illuminate\Http\Response |
|
119 | + * @return \Illuminate\Http\JsonResponse |
|
121 | 120 | */ |
122 | 121 | public function store(Request $request) |
123 | 122 | { |
@@ -171,8 +170,7 @@ discard block |
||
171 | 170 | /** |
172 | 171 | * Store a newly created resource in storage. |
173 | 172 | * |
174 | - * @param \Illuminate\Http\Request $request |
|
175 | - * @return \Illuminate\Http\Response |
|
173 | + * @return \Illuminate\Http\JsonResponse |
|
176 | 174 | */ |
177 | 175 | public function show($id) |
178 | 176 | { |
@@ -191,8 +189,7 @@ discard block |
||
191 | 189 | /** |
192 | 190 | * Show the form for editing the specified resource. |
193 | 191 | * |
194 | - * @param \App\Nilai $nilai |
|
195 | - * @return \Illuminate\Http\Response |
|
192 | + * @return \Illuminate\Http\JsonResponse |
|
196 | 193 | */ |
197 | 194 | public function edit($id) |
198 | 195 | { |
@@ -217,8 +214,7 @@ discard block |
||
217 | 214 | * Update the specified resource in storage. |
218 | 215 | * |
219 | 216 | * @param \Illuminate\Http\Request $request |
220 | - * @param \App\Nilai $nilai |
|
221 | - * @return \Illuminate\Http\Response |
|
217 | + * @return \Illuminate\Http\JsonResponse |
|
222 | 218 | */ |
223 | 219 | public function update(Request $request, $id) |
224 | 220 | { |
@@ -289,8 +285,7 @@ discard block |
||
289 | 285 | /** |
290 | 286 | * Remove the specified resource from storage. |
291 | 287 | * |
292 | - * @param \App\Nilai $nilai |
|
293 | - * @return \Illuminate\Http\Response |
|
288 | + * @return string |
|
294 | 289 | */ |
295 | 290 | public function destroy($id) |
296 | 291 | { |