@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | * Handles POST request to create a new option. |
| 57 | 57 | * |
| 58 | 58 | * @param \Illuminate\Http\Request $request |
| 59 | - * @return \Illuminate\Response\RedirectResponse |
|
| 59 | + * @return \Illuminate\Http\RedirectResponse |
|
| 60 | 60 | */ |
| 61 | 61 | public function store(Request $request) |
| 62 | 62 | { |
@@ -226,7 +226,7 @@ discard block |
||
| 226 | 226 | * |
| 227 | 227 | * @param Request $request |
| 228 | 228 | * @param int $id |
| 229 | - * @return \Illuminate\Response\RedirectResponse |
|
| 229 | + * @return \Illuminate\Http\RedirectResponse |
|
| 230 | 230 | */ |
| 231 | 231 | public function updateScripts(Request $request, $id) |
| 232 | 232 | { |
@@ -205,7 +205,7 @@ |
||
| 205 | 205 | * Change the access level for a given call to `access()` on the user. |
| 206 | 206 | * |
| 207 | 207 | * @param string $level can be all, admin, subuser, owner |
| 208 | - * @return void |
|
| 208 | + * @return User |
|
| 209 | 209 | */ |
| 210 | 210 | public function setAccessLevel($level = 'all') |
| 211 | 211 | { |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | * Set the location to use when auto-deploying. |
| 72 | 72 | * |
| 73 | 73 | * @param int|\Pterodactyl\Models\Location $location |
| 74 | - * @return void |
|
| 74 | + * @return DeploymentService |
|
| 75 | 75 | */ |
| 76 | 76 | public function setLocation($location) |
| 77 | 77 | { |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | * Set the node to use when auto-deploying. |
| 92 | 92 | * |
| 93 | 93 | * @param int|\Pterodactyl\Models\Node $node |
| 94 | - * @return void |
|
| 94 | + * @return DeploymentService |
|
| 95 | 95 | */ |
| 96 | 96 | public function setNode($node) |
| 97 | 97 | { |
@@ -109,7 +109,7 @@ discard block |
||
| 109 | 109 | * Set the amount of disk space to be used by the new server. |
| 110 | 110 | * |
| 111 | 111 | * @param int $disk |
| 112 | - * @return void |
|
| 112 | + * @return DeploymentService |
|
| 113 | 113 | */ |
| 114 | 114 | public function setDisk(int $disk) |
| 115 | 115 | { |
@@ -122,7 +122,7 @@ discard block |
||
| 122 | 122 | * Set the amount of memory to be used by the new server. |
| 123 | 123 | * |
| 124 | 124 | * @param int $memory |
| 125 | - * @return void |
|
| 125 | + * @return DeploymentService |
|
| 126 | 126 | */ |
| 127 | 127 | public function setMemory(int $memory) |
| 128 | 128 | { |
@@ -28,7 +28,6 @@ |
||
| 28 | 28 | use Pterodactyl\Models; |
| 29 | 29 | use Illuminate\Http\Request; |
| 30 | 30 | use Pterodactyl\Repositories; |
| 31 | -use GuzzleHttp\Exception\RequestException; |
|
| 32 | 31 | use Pterodactyl\Exceptions\DisplayException; |
| 33 | 32 | use Pterodactyl\Http\Controllers\Controller; |
| 34 | 33 | use Pterodactyl\Exceptions\DisplayValidationException; |