@@ -59,7 +59,7 @@ |
||
| 59 | 59 | /** |
| 60 | 60 | * Get the services provided by the provider. |
| 61 | 61 | * |
| 62 | - * @return array |
|
| 62 | + * @return string[] |
|
| 63 | 63 | */ |
| 64 | 64 | public function provides() |
| 65 | 65 | { |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | /* Require */ |
| 6 | 6 | use App\Http\Controllers\Controller; |
| 7 | 7 | use Illuminate\Http\Request; |
| 8 | -use Bantenprov\Sekolah\Facades\SekolahFacade; |
|
| 9 | 8 | |
| 10 | 9 | /* Models */ |
| 11 | 10 | use Bantenprov\Sekolah\Models\Bantenprov\Sekolah\Sekolah; |
@@ -248,7 +248,6 @@ discard block |
||
| 248 | 248 | /** |
| 249 | 249 | * Display the specified resource. |
| 250 | 250 | * |
| 251 | - * @param \App\Sekolah $sekolah |
|
| 252 | 251 | * @return \Illuminate\Http\Response |
| 253 | 252 | */ |
| 254 | 253 | public function show($id) |
@@ -266,7 +265,6 @@ discard block |
||
| 266 | 265 | /** |
| 267 | 266 | * Show the form for editing the specified resource. |
| 268 | 267 | * |
| 269 | - * @param \App\Sekolah $sekolah |
|
| 270 | 268 | * @return \Illuminate\Http\Response |
| 271 | 269 | */ |
| 272 | 270 | public function edit($id) |
@@ -288,7 +286,6 @@ discard block |
||
| 288 | 286 | * Update the specified resource in storage. |
| 289 | 287 | * |
| 290 | 288 | * @param \Illuminate\Http\Request $request |
| 291 | - * @param \App\Sekolah $sekolah |
|
| 292 | 289 | * @return \Illuminate\Http\Response |
| 293 | 290 | */ |
| 294 | 291 | public function update(Request $request, $id) |
@@ -376,8 +373,7 @@ discard block |
||
| 376 | 373 | /** |
| 377 | 374 | * Remove the specified resource from storage. |
| 378 | 375 | * |
| 379 | - * @param \App\Sekolah $sekolah |
|
| 380 | - * @return \Illuminate\Http\Response |
|
| 376 | + * @return string |
|
| 381 | 377 | */ |
| 382 | 378 | public function destroy($id) |
| 383 | 379 | { |
@@ -66,6 +66,10 @@ |
||
| 66 | 66 | echo"\n\n"; |
| 67 | 67 | } |
| 68 | 68 | /* text color: orange */ |
| 69 | + |
|
| 70 | + /** |
|
| 71 | + * @param string $text |
|
| 72 | + */ |
|
| 69 | 73 | protected function orangeText($text) |
| 70 | 74 | { |
| 71 | 75 | printf($this->ORANGE.$text.$this->NC); |
@@ -111,6 +111,10 @@ |
||
| 111 | 111 | } |
| 112 | 112 | |
| 113 | 113 | /* text color: orange */ |
| 114 | + |
|
| 115 | + /** |
|
| 116 | + * @param string $text |
|
| 117 | + */ |
|
| 114 | 118 | protected function orangeText($text) |
| 115 | 119 | { |
| 116 | 120 | printf($this->ORANGE.$text.$this->NC); |
@@ -151,7 +151,6 @@ discard block |
||
| 151 | 151 | /** |
| 152 | 152 | * Display the specified resource. |
| 153 | 153 | * |
| 154 | - * @param \App\JenisSekolah $jenis_sekolah |
|
| 155 | 154 | * @return \Illuminate\Http\Response |
| 156 | 155 | */ |
| 157 | 156 | public function show($id) |
@@ -169,7 +168,6 @@ discard block |
||
| 169 | 168 | /** |
| 170 | 169 | * Show the form for editing the specified resource. |
| 171 | 170 | * |
| 172 | - * @param \App\JenisSekolah $jenis_sekolah |
|
| 173 | 171 | * @return \Illuminate\Http\Response |
| 174 | 172 | */ |
| 175 | 173 | public function edit($id) |
@@ -188,7 +186,6 @@ discard block |
||
| 188 | 186 | * Update the specified resource in storage. |
| 189 | 187 | * |
| 190 | 188 | * @param \Illuminate\Http\Request $request |
| 191 | - * @param \App\JenisSekolah $jenis_sekolah |
|
| 192 | 189 | * @return \Illuminate\Http\Response |
| 193 | 190 | */ |
| 194 | 191 | public function update(Request $request, $id) |
@@ -203,8 +200,7 @@ discard block |
||
| 203 | 200 | /** |
| 204 | 201 | * Remove the specified resource from storage. |
| 205 | 202 | * |
| 206 | - * @param \App\JenisSekolah $jenis_sekolah |
|
| 207 | - * @return \Illuminate\Http\Response |
|
| 203 | + * @return string |
|
| 208 | 204 | */ |
| 209 | 205 | public function destroy($id) |
| 210 | 206 | { |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | /* Require */ |
| 6 | 6 | use App\Http\Controllers\Controller; |
| 7 | 7 | use Illuminate\Http\Request; |
| 8 | -use Bantenprov\Sekolah\Facades\SekolahFacade; |
|
| 9 | 8 | |
| 10 | 9 | /* Models */ |
| 11 | 10 | use Bantenprov\Sekolah\Models\Bantenprov\Sekolah\JenisSekolah; |
@@ -198,7 +198,6 @@ discard block |
||
| 198 | 198 | /** |
| 199 | 199 | * Display the specified resource. |
| 200 | 200 | * |
| 201 | - * @param \App\ProdiSekolah $prodi_sekolah |
|
| 202 | 201 | * @return \Illuminate\Http\Response |
| 203 | 202 | */ |
| 204 | 203 | public function show($id) |
@@ -216,7 +215,6 @@ discard block |
||
| 216 | 215 | /** |
| 217 | 216 | * Show the form for editing the specified resource. |
| 218 | 217 | * |
| 219 | - * @param \App\Sekolah $sekolah |
|
| 220 | 218 | * @return \Illuminate\Http\Response |
| 221 | 219 | */ |
| 222 | 220 | public function edit($id) |
@@ -235,7 +233,6 @@ discard block |
||
| 235 | 233 | * Update the specified resource in storage. |
| 236 | 234 | * |
| 237 | 235 | * @param \Illuminate\Http\Request $request |
| 238 | - * @param \App\Sekolah $sekolah |
|
| 239 | 236 | * @return \Illuminate\Http\Response |
| 240 | 237 | */ |
| 241 | 238 | public function update(Request $request, $id) |
@@ -296,8 +293,7 @@ discard block |
||
| 296 | 293 | /** |
| 297 | 294 | * Remove the specified resource from storage. |
| 298 | 295 | * |
| 299 | - * @param \App\Sekolah $sekolah |
|
| 300 | - * @return \Illuminate\Http\Response |
|
| 296 | + * @return string |
|
| 301 | 297 | */ |
| 302 | 298 | public function destroy($id) |
| 303 | 299 | { |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | /* Require */ |
| 6 | 6 | use App\Http\Controllers\Controller; |
| 7 | 7 | use Illuminate\Http\Request; |
| 8 | -use Bantenprov\Sekolah\Facades\SekolahFacade; |
|
| 9 | 8 | |
| 10 | 9 | /* Models */ |
| 11 | 10 | use Bantenprov\Sekolah\Models\Bantenprov\Sekolah\ProdiSekolah; |
@@ -111,6 +111,10 @@ |
||
| 111 | 111 | } |
| 112 | 112 | |
| 113 | 113 | /* text color: orange */ |
| 114 | + |
|
| 115 | + /** |
|
| 116 | + * @param string $text |
|
| 117 | + */ |
|
| 114 | 118 | protected function orangeText($text) |
| 115 | 119 | { |
| 116 | 120 | printf($this->ORANGE.$text.$this->NC); |
@@ -198,7 +198,6 @@ discard block |
||
| 198 | 198 | /** |
| 199 | 199 | * Display the specified resource. |
| 200 | 200 | * |
| 201 | - * @param \App\ProdiSekolah $prodi_sekolah |
|
| 202 | 201 | * @return \Illuminate\Http\Response |
| 203 | 202 | */ |
| 204 | 203 | public function show($id) |
@@ -216,7 +215,6 @@ discard block |
||
| 216 | 215 | /** |
| 217 | 216 | * Show the form for editing the specified resource. |
| 218 | 217 | * |
| 219 | - * @param \App\Sekolah $sekolah |
|
| 220 | 218 | * @return \Illuminate\Http\Response |
| 221 | 219 | */ |
| 222 | 220 | public function edit($id) |
@@ -235,7 +233,6 @@ discard block |
||
| 235 | 233 | * Update the specified resource in storage. |
| 236 | 234 | * |
| 237 | 235 | * @param \Illuminate\Http\Request $request |
| 238 | - * @param \App\Sekolah $sekolah |
|
| 239 | 236 | * @return \Illuminate\Http\Response |
| 240 | 237 | */ |
| 241 | 238 | public function update(Request $request, $id) |
@@ -296,8 +293,7 @@ discard block |
||
| 296 | 293 | /** |
| 297 | 294 | * Remove the specified resource from storage. |
| 298 | 295 | * |
| 299 | - * @param \App\Sekolah $sekolah |
|
| 300 | - * @return \Illuminate\Http\Response |
|
| 296 | + * @return string |
|
| 301 | 297 | */ |
| 302 | 298 | public function destroy($id) |
| 303 | 299 | { |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | /* Require */ |
| 6 | 6 | use App\Http\Controllers\Controller; |
| 7 | 7 | use Illuminate\Http\Request; |
| 8 | -use Bantenprov\Sekolah\Facades\SekolahFacade; |
|
| 9 | 8 | |
| 10 | 9 | /* Models */ |
| 11 | 10 | use Bantenprov\Sekolah\Models\Bantenprov\Sekolah\AdminSekolah; |