@@ -86,7 +86,7 @@ |
||
| 86 | 86 | * Create server controller method. |
| 87 | 87 | * |
| 88 | 88 | * @param \Illuminate\Http\Request $request |
| 89 | - * @return \Illuminate\Response\RedirectResponse |
|
| 89 | + * @return \Illuminate\Http\RedirectResponse |
|
| 90 | 90 | */ |
| 91 | 91 | public function create(Request $request) |
| 92 | 92 | { |
@@ -169,7 +169,7 @@ |
||
| 169 | 169 | * @param \Illuminate\Http\Request $request |
| 170 | 170 | * @param string $uuid |
| 171 | 171 | * @param string $file |
| 172 | - * @return \Illuminate\View\View |
|
| 172 | + * @return \Illuminate\Http\RedirectResponse |
|
| 173 | 173 | */ |
| 174 | 174 | public function getDownloadFile(Request $request, $uuid, $file) |
| 175 | 175 | { |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | * Get the notification's delivery channels. |
| 29 | 29 | * |
| 30 | 30 | * @param mixed $notifiable |
| 31 | - * @return array |
|
| 31 | + * @return string[] |
|
| 32 | 32 | */ |
| 33 | 33 | public function via($notifiable) |
| 34 | 34 | { |
@@ -71,7 +71,7 @@ |
||
| 71 | 71 | * |
| 72 | 72 | * @param \Pterodactyl\Models\User $user |
| 73 | 73 | * @param string $ability |
| 74 | - * @return bool |
|
| 74 | + * @return boolean|null |
|
| 75 | 75 | */ |
| 76 | 76 | public function before(User $user, $ability) |
| 77 | 77 | { |
@@ -106,7 +106,7 @@ |
||
| 106 | 106 | * Constructor for API Repository. |
| 107 | 107 | * |
| 108 | 108 | * @param null|\Pterodactyl\Models\User $user |
| 109 | - * @return void |
|
| 109 | + * @return string |
|
| 110 | 110 | */ |
| 111 | 111 | public function __construct(Models\User $user = null) |
| 112 | 112 | { |
@@ -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) |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | * Constructor. |
| 44 | 44 | * |
| 45 | 45 | * @param string $uuid |
| 46 | - * @return void |
|
| 46 | + * @return string |
|
| 47 | 47 | */ |
| 48 | 48 | public function __construct($uuid) |
| 49 | 49 | { |
@@ -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 | { |