@@ -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 | { |
@@ -25,7 +25,6 @@ |
||
25 | 25 | namespace Pterodactyl\Repositories\Daemon; |
26 | 26 | |
27 | 27 | use Exception; |
28 | -use GuzzleHttp\Client; |
|
29 | 28 | use Pterodactyl\Models\Server; |
30 | 29 | use Pterodactyl\Exceptions\DisplayException; |
31 | 30 | use Pterodactyl\Repositories\HelperRepository; |
@@ -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 | { |
@@ -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 | { |
@@ -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 | { |
@@ -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 | { |
@@ -25,7 +25,6 @@ |
||
25 | 25 | namespace Pterodactyl\Repositories; |
26 | 26 | |
27 | 27 | use DB; |
28 | -use Uuid; |
|
29 | 28 | use Storage; |
30 | 29 | use Validator; |
31 | 30 | use Pterodactyl\Models\Pack; |
@@ -24,7 +24,6 @@ |
||
24 | 24 | |
25 | 25 | namespace Pterodactyl\Console\Commands; |
26 | 26 | |
27 | -use Pterodactyl\Models\Node; |
|
28 | 27 | use Pterodactyl\Models\Server; |
29 | 28 | use Illuminate\Console\Command; |
30 | 29 |
@@ -32,7 +32,7 @@ |
||
32 | 32 | * Exception constructor. |
33 | 33 | * |
34 | 34 | * @param string $message |
35 | - * @param mixed $log |
|
35 | + * @param \GuzzleHttp\Exception\TransferException $log |
|
36 | 36 | * @return void |
37 | 37 | */ |
38 | 38 | public function __construct($message, $log = null) |
@@ -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 | { |