@@ -40,7 +40,7 @@ |
||
| 40 | 40 | /** |
| 41 | 41 | * Constuctor for repository. |
| 42 | 42 | * |
| 43 | - * @param int|\Pterodactyl\Models\Server $server |
|
| 43 | + * @param Models\Server $server |
|
| 44 | 44 | * @return void |
| 45 | 45 | */ |
| 46 | 46 | public function __construct($server) |
@@ -929,7 +929,7 @@ |
||
| 929 | 929 | * |
| 930 | 930 | * @param int $id |
| 931 | 931 | * @param string $password |
| 932 | - * @return void |
|
| 932 | + * @return boolean |
|
| 933 | 933 | * |
| 934 | 934 | * @throws \Pterodactyl\Exceptions\DisplayException |
| 935 | 935 | * @throws \Pterodactyl\Exceptions\DisplayValidationException |
@@ -113,7 +113,7 @@ |
||
| 113 | 113 | * @param \Pterodactyl\Models\Node $node |
| 114 | 114 | * @param int $memory |
| 115 | 115 | * @param int $disk |
| 116 | - * @return bool Returns true if this information would not put the node over it's limit. |
|
| 116 | + * @return boolean|null Returns true if this information would not put the node over it's limit. |
|
| 117 | 117 | */ |
| 118 | 118 | protected static function checkNodeAllocation(Models\Node $node, $memory, $disk) |
| 119 | 119 | { |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | /** |
| 41 | 41 | * Constuctor for repository. |
| 42 | 42 | * |
| 43 | - * @param int|\Pterodactyl\Models\Server $server |
|
| 43 | + * @param Models\Server $server |
|
| 44 | 44 | * @return void |
| 45 | 45 | */ |
| 46 | 46 | public function __construct($server) |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Pterodactyl\Http\Middleware; |
| 4 | 4 | |
| 5 | 5 | use Closure; |
| 6 | -use Alert; |
|
| 7 | 6 | use \Pterodactyl\Events\Auth\FailedCaptcha; |
| 8 | 7 | |
| 9 | 8 | class VerifyReCaptcha |