@@ -86,6 +86,10 @@ |
||
86 | 86 | } |
87 | 87 | |
88 | 88 | /* text color: orange */ |
89 | + |
|
90 | + /** |
|
91 | + * @param string $text |
|
92 | + */ |
|
89 | 93 | protected function orangeText($text) |
90 | 94 | { |
91 | 95 | printf($this->ORANGE.$text.$this->NC); |
@@ -86,6 +86,10 @@ |
||
86 | 86 | } |
87 | 87 | |
88 | 88 | /* text color: orange */ |
89 | + |
|
90 | + /** |
|
91 | + * @param string $text |
|
92 | + */ |
|
89 | 93 | protected function orangeText($text) |
90 | 94 | { |
91 | 95 | printf($this->ORANGE.$text.$this->NC); |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | /** |
79 | 79 | * Show the form for creating a new resource. |
80 | 80 | * |
81 | - * @return \Illuminate\Http\Response |
|
81 | + * @return \Illuminate\Http\JsonResponse |
|
82 | 82 | */ |
83 | 83 | public function create() |
84 | 84 | { |
@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | * Store a newly created resource in storage. |
131 | 131 | * |
132 | 132 | * @param \Illuminate\Http\Request $request |
133 | - * @return \Illuminate\Http\Response |
|
133 | + * @return \Illuminate\Http\JsonResponse |
|
134 | 134 | */ |
135 | 135 | public function store(Request $request) |
136 | 136 | { |
@@ -172,8 +172,7 @@ discard block |
||
172 | 172 | /** |
173 | 173 | * Display the specified resource. |
174 | 174 | * |
175 | - * @param \App\Nilai $nilai |
|
176 | - * @return \Illuminate\Http\Response |
|
175 | + * @return \Illuminate\Http\JsonResponse |
|
177 | 176 | */ |
178 | 177 | public function show($id) |
179 | 178 | { |
@@ -190,8 +189,7 @@ discard block |
||
190 | 189 | /** |
191 | 190 | * Show the form for editing the specified resource. |
192 | 191 | * |
193 | - * @param \App\Nilai $nilai |
|
194 | - * @return \Illuminate\Http\Response |
|
192 | + * @return \Illuminate\Http\JsonResponse |
|
195 | 193 | */ |
196 | 194 | public function edit($id) |
197 | 195 | { |
@@ -247,8 +245,7 @@ discard block |
||
247 | 245 | * Update the specified resource in storage. |
248 | 246 | * |
249 | 247 | * @param \Illuminate\Http\Request $request |
250 | - * @param \App\Nilai $nilai |
|
251 | - * @return \Illuminate\Http\Response |
|
248 | + * @return \Illuminate\Http\JsonResponse |
|
252 | 249 | */ |
253 | 250 | public function update(Request $request, $id) |
254 | 251 | { |
@@ -290,8 +287,7 @@ discard block |
||
290 | 287 | /** |
291 | 288 | * Remove the specified resource from storage. |
292 | 289 | * |
293 | - * @param \App\Nilai $nilai |
|
294 | - * @return \Illuminate\Http\Response |
|
290 | + * @return string |
|
295 | 291 | */ |
296 | 292 | public function destroy($id) |
297 | 293 | { |