@@ -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 | { |
@@ -79,6 +79,10 @@ |
||
| 79 | 79 | $this->greenText("\n[ SEEDER DONE ]\n"); |
| 80 | 80 | } |
| 81 | 81 | /* text color: orange */ |
| 82 | + |
|
| 83 | + /** |
|
| 84 | + * @param string $text |
|
| 85 | + */ |
|
| 82 | 86 | protected function orangeText($text) |
| 83 | 87 | { |
| 84 | 88 | printf($this->ORANGE.$text.$this->NC); |
@@ -83,7 +83,6 @@ discard block |
||
| 83 | 83 | /** |
| 84 | 84 | * Display the specified resource. |
| 85 | 85 | * |
| 86 | - * @param \App\ProgramKeahlian $program_keahlian |
|
| 87 | 86 | * @return \Illuminate\Http\Response |
| 88 | 87 | */ |
| 89 | 88 | public function store(Request $request) |
@@ -115,7 +114,6 @@ discard block |
||
| 115 | 114 | /** |
| 116 | 115 | * Store a newly created resource in storage. |
| 117 | 116 | * |
| 118 | - * @param \Illuminate\Http\Request $request |
|
| 119 | 117 | * @return \Illuminate\Http\Response |
| 120 | 118 | */ |
| 121 | 119 | public function show($id) |
@@ -131,7 +129,6 @@ discard block |
||
| 131 | 129 | /** |
| 132 | 130 | * Show the form for editing the specified resource. |
| 133 | 131 | * |
| 134 | - * @param \App\ProgramKeahlian $program_keahlian |
|
| 135 | 132 | * @return \Illuminate\Http\Response |
| 136 | 133 | */ |
| 137 | 134 | public function edit($id) |
@@ -148,7 +145,6 @@ discard block |
||
| 148 | 145 | * Update the specified resource in storage. |
| 149 | 146 | * |
| 150 | 147 | * @param \Illuminate\Http\Request $request |
| 151 | - * @param \App\ProgramKeahlian $program_keahlian |
|
| 152 | 148 | * @return \Illuminate\Http\Response |
| 153 | 149 | */ |
| 154 | 150 | public function update(Request $request, $id) |
@@ -180,8 +176,7 @@ discard block |
||
| 180 | 176 | /** |
| 181 | 177 | * Remove the specified resource from storage. |
| 182 | 178 | * |
| 183 | - * @param \App\ProgramKeahlian $program_keahlian |
|
| 184 | - * @return \Illuminate\Http\Response |
|
| 179 | + * @return string |
|
| 185 | 180 | */ |
| 186 | 181 | public function destroy($id) |
| 187 | 182 | { |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | /* Require */ |
| 6 | 6 | use App\Http\Controllers\Controller; |
| 7 | 7 | use Illuminate\Http\Request; |
| 8 | -use Bantenprov\ProgramKeahlian\Facades\ProgramKeahlianFacade; |
|
| 9 | 8 | use App\User; |
| 10 | 9 | |
| 11 | 10 | /* Models */ |
@@ -208,7 +208,6 @@ discard block |
||
| 208 | 208 | /** |
| 209 | 209 | * Display the specified resource. |
| 210 | 210 | * |
| 211 | - * @param \App\ProgramKeahlian $program_keahlian |
|
| 212 | 211 | * @return \Illuminate\Http\Response |
| 213 | 212 | */ |
| 214 | 213 | public function show($id) |
@@ -226,7 +225,6 @@ discard block |
||
| 226 | 225 | /** |
| 227 | 226 | * Show the form for editing the specified resource. |
| 228 | 227 | * |
| 229 | - * @param \App\ProgramKeahlian $program_keahlian |
|
| 230 | 228 | * @return \Illuminate\Http\Response |
| 231 | 229 | */ |
| 232 | 230 | public function edit($id) |
@@ -282,7 +280,6 @@ discard block |
||
| 282 | 280 | * Update the specified resource in storage. |
| 283 | 281 | * |
| 284 | 282 | * @param \Illuminate\Http\Request $request |
| 285 | - * @param \App\ProgramKeahlian $program_keahlian |
|
| 286 | 283 | * @return \Illuminate\Http\Response |
| 287 | 284 | */ |
| 288 | 285 | public function update(Request $request, $id) |
@@ -329,8 +326,7 @@ discard block |
||
| 329 | 326 | /** |
| 330 | 327 | * Remove the specified resource from storage. |
| 331 | 328 | * |
| 332 | - * @param \App\ProgramKeahlian $program_keahlian |
|
| 333 | - * @return \Illuminate\Http\Response |
|
| 329 | + * @return string |
|
| 334 | 330 | */ |
| 335 | 331 | public function destroy($id) |
| 336 | 332 | { |
@@ -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\ProgramKeahlian\Facades\ProgramKeahlianFacade; |
|
| 10 | 8 | |
| 11 | 9 | /* Models */ |
| 12 | 10 | use Bantenprov\ProgramKeahlian\Models\Bantenprov\ProgramKeahlian\ProgramKeahlian; |