@@ -69,6 +69,10 @@ |
||
| 69 | 69 | echo"\n\n"; |
| 70 | 70 | } |
| 71 | 71 | /* text color: orange */ |
| 72 | + |
|
| 73 | + /** |
|
| 74 | + * @param string $text |
|
| 75 | + */ |
|
| 72 | 76 | protected function orangeText($text) |
| 73 | 77 | { |
| 74 | 78 | printf($this->ORANGE.$text.$this->NC); |
@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | /** |
| 73 | 73 | * Show the form for creating a new resource. |
| 74 | 74 | * |
| 75 | - * @return \Illuminate\Http\Response |
|
| 75 | + * @return \Illuminate\Http\JsonResponse |
|
| 76 | 76 | */ |
| 77 | 77 | public function create() |
| 78 | 78 | { |
@@ -109,8 +109,7 @@ discard block |
||
| 109 | 109 | /** |
| 110 | 110 | * Display the specified resource. |
| 111 | 111 | * |
| 112 | - * @param \App\Seleksi $seleksi |
|
| 113 | - * @return \Illuminate\Http\Response |
|
| 112 | + * @return \Illuminate\Http\JsonResponse |
|
| 114 | 113 | */ |
| 115 | 114 | public function store(Request $request) |
| 116 | 115 | { |
@@ -153,8 +152,7 @@ discard block |
||
| 153 | 152 | /** |
| 154 | 153 | * Store a newly created resource in storage. |
| 155 | 154 | * |
| 156 | - * @param \Illuminate\Http\Request $request |
|
| 157 | - * @return \Illuminate\Http\Response |
|
| 155 | + * @return \Illuminate\Http\JsonResponse |
|
| 158 | 156 | */ |
| 159 | 157 | public function show($id) |
| 160 | 158 | { |
@@ -171,8 +169,7 @@ discard block |
||
| 171 | 169 | /** |
| 172 | 170 | * Show the form for editing the specified resource. |
| 173 | 171 | * |
| 174 | - * @param \App\Seleksi $seleksi |
|
| 175 | - * @return \Illuminate\Http\Response |
|
| 172 | + * @return \Illuminate\Http\JsonResponse |
|
| 176 | 173 | */ |
| 177 | 174 | public function edit($id) |
| 178 | 175 | { |
@@ -192,8 +189,7 @@ discard block |
||
| 192 | 189 | * Update the specified resource in storage. |
| 193 | 190 | * |
| 194 | 191 | * @param \Illuminate\Http\Request $request |
| 195 | - * @param \App\Seleksi $seleksi |
|
| 196 | - * @return \Illuminate\Http\Response |
|
| 192 | + * @return \Illuminate\Http\JsonResponse |
|
| 197 | 193 | */ |
| 198 | 194 | public function update(Request $request, $id) |
| 199 | 195 | { |
@@ -244,8 +240,7 @@ discard block |
||
| 244 | 240 | /** |
| 245 | 241 | * Remove the specified resource from storage. |
| 246 | 242 | * |
| 247 | - * @param \App\Seleksi $seleksi |
|
| 248 | - * @return \Illuminate\Http\Response |
|
| 243 | + * @return string |
|
| 249 | 244 | */ |
| 250 | 245 | public function destroy($id) |
| 251 | 246 | { |
@@ -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 | { |