@@ -154,7 +154,7 @@ |
||
| 154 | 154 | * |
| 155 | 155 | * @param Request $request |
| 156 | 156 | * @param int $id |
| 157 | - * @return void |
|
| 157 | + * @return \Dingo\Api\Http\Response |
|
| 158 | 158 | */ |
| 159 | 159 | public function delete(Request $request, $id) |
| 160 | 160 | { |
@@ -32,7 +32,6 @@ |
||
| 32 | 32 | use Pterodactyl\Exceptions\DisplayException; |
| 33 | 33 | use Pterodactyl\Repositories\NodeRepository; |
| 34 | 34 | use Pterodactyl\Exceptions\DisplayValidationException; |
| 35 | -use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
|
| 36 | 35 | use Symfony\Component\HttpKernel\Exception\BadRequestHttpException; |
| 37 | 36 | use Symfony\Component\HttpKernel\Exception\ServiceUnavailableHttpException; |
| 38 | 37 | |
@@ -170,7 +170,7 @@ discard block |
||
| 170 | 170 | * |
| 171 | 171 | * @param Request $request |
| 172 | 172 | * @param int $id |
| 173 | - * @return void |
|
| 173 | + * @return \Dingo\Api\Http\Response |
|
| 174 | 174 | */ |
| 175 | 175 | public function suspend(Request $request, $id) |
| 176 | 176 | { |
@@ -191,7 +191,7 @@ discard block |
||
| 191 | 191 | * |
| 192 | 192 | * @param Request $request |
| 193 | 193 | * @param int $id |
| 194 | - * @return void |
|
| 194 | + * @return \Dingo\Api\Http\Response |
|
| 195 | 195 | */ |
| 196 | 196 | public function unsuspend(Request $request, $id) |
| 197 | 197 | { |
@@ -213,7 +213,7 @@ discard block |
||
| 213 | 213 | * @param Request $request |
| 214 | 214 | * @param int $id |
| 215 | 215 | * @param string|null $force |
| 216 | - * @return void |
|
| 216 | + * @return \Dingo\Api\Http\Response |
|
| 217 | 217 | */ |
| 218 | 218 | public function delete(Request $request, $id, $force = null) |
| 219 | 219 | { |
@@ -31,7 +31,6 @@ |
||
| 31 | 31 | use Pterodactyl\Exceptions\DisplayException; |
| 32 | 32 | use Pterodactyl\Repositories\ServerRepository; |
| 33 | 33 | use Pterodactyl\Exceptions\DisplayValidationException; |
| 34 | -use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
|
| 35 | 34 | use Symfony\Component\HttpKernel\Exception\BadRequestHttpException; |
| 36 | 35 | use Symfony\Component\HttpKernel\Exception\ServiceUnavailableHttpException; |
| 37 | 36 | |
@@ -26,7 +26,6 @@ |
||
| 26 | 26 | |
| 27 | 27 | use Illuminate\Http\Request; |
| 28 | 28 | use Pterodactyl\Models\Service; |
| 29 | -use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
|
| 30 | 29 | |
| 31 | 30 | class ServiceController extends BaseController |
| 32 | 31 | { |
@@ -133,7 +133,7 @@ |
||
| 133 | 133 | * |
| 134 | 134 | * @param Request $request |
| 135 | 135 | * @param int $id |
| 136 | - * @return void |
|
| 136 | + * @return \Dingo\Api\Http\Response |
|
| 137 | 137 | */ |
| 138 | 138 | public function delete(Request $request, $id) |
| 139 | 139 | { |
@@ -30,7 +30,6 @@ |
||
| 30 | 30 | use Pterodactyl\Exceptions\DisplayException; |
| 31 | 31 | use Pterodactyl\Repositories\UserRepository; |
| 32 | 32 | use Pterodactyl\Exceptions\DisplayValidationException; |
| 33 | -use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
|
| 34 | 33 | use Symfony\Component\HttpKernel\Exception\ServiceUnavailableHttpException; |
| 35 | 34 | |
| 36 | 35 | class UserController extends BaseController |