@@ -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 | { |
@@ -72,6 +72,10 @@ |
||
| 72 | 72 | echo"\n\n"; |
| 73 | 73 | } |
| 74 | 74 | /* text color: orange */ |
| 75 | + |
|
| 76 | + /** |
|
| 77 | + * @param string $text |
|
| 78 | + */ |
|
| 75 | 79 | protected function orangeText($text) |
| 76 | 80 | { |
| 77 | 81 | printf($this->ORANGE.$text.$this->NC); |
@@ -72,6 +72,10 @@ |
||
| 72 | 72 | echo"\n\n"; |
| 73 | 73 | } |
| 74 | 74 | /* text color: orange */ |
| 75 | + |
|
| 76 | + /** |
|
| 77 | + * @param string $text |
|
| 78 | + */ |
|
| 75 | 79 | protected function orangeText($text) |
| 76 | 80 | { |
| 77 | 81 | printf($this->ORANGE.$text.$this->NC); |
@@ -179,7 +179,6 @@ discard block |
||
| 179 | 179 | /** |
| 180 | 180 | * Display the specified resource. |
| 181 | 181 | * |
| 182 | - * @param \App\MasterSktm $master_sktm |
|
| 183 | 182 | * @return \Illuminate\Http\Response |
| 184 | 183 | */ |
| 185 | 184 | public function show($id) |
@@ -197,7 +196,6 @@ discard block |
||
| 197 | 196 | /** |
| 198 | 197 | * Show the form for editing the specified resource. |
| 199 | 198 | * |
| 200 | - * @param \App\Sktm $sktm |
|
| 201 | 199 | * @return \Illuminate\Http\Response |
| 202 | 200 | */ |
| 203 | 201 | public function edit($id) |
@@ -248,7 +246,6 @@ discard block |
||
| 248 | 246 | * Update the specified resource in storage. |
| 249 | 247 | * |
| 250 | 248 | * @param \Illuminate\Http\Request $request |
| 251 | - * @param \App\Sktm $sktm |
|
| 252 | 249 | * @return \Illuminate\Http\Response |
| 253 | 250 | */ |
| 254 | 251 | public function update(Request $request, $id) |
@@ -286,8 +283,7 @@ discard block |
||
| 286 | 283 | /** |
| 287 | 284 | * Remove the specified resource from storage. |
| 288 | 285 | * |
| 289 | - * @param \App\MasterSktm $master-sktm |
|
| 290 | - * @return \Illuminate\Http\Response |
|
| 286 | + * @return string |
|
| 291 | 287 | */ |
| 292 | 288 | public function destroy($id) |
| 293 | 289 | { |
@@ -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\Sktm\Facades\SktmFacade; |
|
| 10 | 8 | |
| 11 | 9 | /* Models */ |
| 12 | 10 | use Bantenprov\Sktm\Models\Bantenprov\Sktm\MasterSktm; |
@@ -226,7 +226,6 @@ discard block |
||
| 226 | 226 | /** |
| 227 | 227 | * Display the specified resource. |
| 228 | 228 | * |
| 229 | - * @param \App\Sktm $nilai |
|
| 230 | 229 | * @return \Illuminate\Http\Response |
| 231 | 230 | */ |
| 232 | 231 | public function show($id) |
@@ -244,7 +243,6 @@ discard block |
||
| 244 | 243 | /** |
| 245 | 244 | * Show the form for editing the specified resource. |
| 246 | 245 | * |
| 247 | - * @param \App\Sktm $nilai |
|
| 248 | 246 | * @return \Illuminate\Http\Response |
| 249 | 247 | */ |
| 250 | 248 | public function edit($id) |
@@ -301,7 +299,6 @@ discard block |
||
| 301 | 299 | * Update the specified resource in storage. |
| 302 | 300 | * |
| 303 | 301 | * @param \Illuminate\Http\Request $request |
| 304 | - * @param \App\Sktm $nilai |
|
| 305 | 302 | * @return \Illuminate\Http\Response |
| 306 | 303 | */ |
| 307 | 304 | public function update(Request $request, $id) |
@@ -368,8 +365,7 @@ discard block |
||
| 368 | 365 | /** |
| 369 | 366 | * Remove the specified resource from storage. |
| 370 | 367 | * |
| 371 | - * @param \App\Sktm $nilai |
|
| 372 | - * @return \Illuminate\Http\Response |
|
| 368 | + * @return string |
|
| 373 | 369 | */ |
| 374 | 370 | public function destroy($id) |
| 375 | 371 | { |
@@ -6,14 +6,12 @@ |
||
| 6 | 6 | use App\Http\Controllers\Controller; |
| 7 | 7 | use Illuminate\Http\Request; |
| 8 | 8 | use Illuminate\Support\Facades\DB; |
| 9 | -use Bantenprov\Sktm\Facades\SktmFacade; |
|
| 10 | 9 | |
| 11 | 10 | /* Models */ |
| 12 | 11 | use Bantenprov\Sktm\Models\Bantenprov\Sktm\Sktm; |
| 13 | 12 | use Bantenprov\Siswa\Models\Bantenprov\Siswa\Siswa; |
| 14 | 13 | use Bantenprov\Sktm\Models\Bantenprov\Sktm\MasterSktm; |
| 15 | 14 | use App\User; |
| 16 | -use Bantenprov\Nilai\Models\Bantenprov\Nilai\Nilai; |
|
| 17 | 15 | |
| 18 | 16 | /* Etc */ |
| 19 | 17 | use Validator; |