@@ -5,7 +5,6 @@ |
||
| 5 | 5 | /* Require */ |
| 6 | 6 | use App\Http\Controllers\Controller; |
| 7 | 7 | use Illuminate\Http\Request; |
| 8 | -use Bantenprov\Siswa\Facades\SiswaFacade; |
|
| 9 | 8 | |
| 10 | 9 | /* Models */ |
| 11 | 10 | use Bantenprov\Siswa\Models\Bantenprov\Siswa\Siswa; |
@@ -229,7 +229,6 @@ discard block |
||
| 229 | 229 | /** |
| 230 | 230 | * Display the specified resource. |
| 231 | 231 | * |
| 232 | - * @param \App\Siswa $siswa |
|
| 233 | 232 | * @return \Illuminate\Http\Response |
| 234 | 233 | */ |
| 235 | 234 | public function show($id) |
@@ -247,7 +246,6 @@ discard block |
||
| 247 | 246 | /** |
| 248 | 247 | * Show the form for editing the specified resource. |
| 249 | 248 | * |
| 250 | - * @param \App\Siswa $siswa |
|
| 251 | 249 | * @return \Illuminate\Http\Response |
| 252 | 250 | */ |
| 253 | 251 | public function edit($id) |
@@ -265,7 +263,6 @@ discard block |
||
| 265 | 263 | * Update the specified resource in storage. |
| 266 | 264 | * |
| 267 | 265 | * @param \Illuminate\Http\Request $request |
| 268 | - * @param \App\Siswa $siswa |
|
| 269 | 266 | * @return \Illuminate\Http\Response |
| 270 | 267 | */ |
| 271 | 268 | public function update(Request $request, $id) |
@@ -349,8 +346,7 @@ discard block |
||
| 349 | 346 | /** |
| 350 | 347 | * Remove the specified resource from storage. |
| 351 | 348 | * |
| 352 | - * @param \App\Siswa $siswa |
|
| 353 | - * @return \Illuminate\Http\Response |
|
| 349 | + * @return string |
|
| 354 | 350 | */ |
| 355 | 351 | public function destroy($id) |
| 356 | 352 | { |
@@ -58,7 +58,7 @@ |
||
| 58 | 58 | /** |
| 59 | 59 | * Get the services provided by the provider. |
| 60 | 60 | * |
| 61 | - * @return array |
|
| 61 | + * @return string[] |
|
| 62 | 62 | */ |
| 63 | 63 | public function provides() |
| 64 | 64 | { |
@@ -75,6 +75,10 @@ |
||
| 75 | 75 | printf($this->ORANGE.$text.$this->NC); |
| 76 | 76 | } |
| 77 | 77 | /* text color: green */ |
| 78 | + |
|
| 79 | + /** |
|
| 80 | + * @param string $text |
|
| 81 | + */ |
|
| 78 | 82 | protected function greenText($text) |
| 79 | 83 | { |
| 80 | 84 | printf($this->GRN.$text.$this->NC); |