@@ -24,7 +24,6 @@ |
||
24 | 24 | |
25 | 25 | namespace Pterodactyl\Http\Controllers\Server; |
26 | 26 | |
27 | -use DB; |
|
28 | 27 | use Log; |
29 | 28 | use Auth; |
30 | 29 | use Alert; |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | * |
45 | 45 | * @param \Pterodactyl\Models\User $user |
46 | 46 | * @param \Pterodactyl\Models\Server $server |
47 | - * @param $permission |
|
47 | + * @param string $permission |
|
48 | 48 | * @return bool |
49 | 49 | */ |
50 | 50 | private function checkPermission(User $user, Server $server, $permission) |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | * |
74 | 74 | * @param \Pterodactyl\Models\User $user |
75 | 75 | * @param string $ability |
76 | - * @return bool |
|
76 | + * @return boolean|null |
|
77 | 77 | */ |
78 | 78 | public function before(User $user, $ability) |
79 | 79 | { |
@@ -24,7 +24,6 @@ |
||
24 | 24 | |
25 | 25 | namespace Pterodactyl\Http\Controllers\Admin; |
26 | 26 | |
27 | -use DB; |
|
28 | 27 | use Log; |
29 | 28 | use Alert; |
30 | 29 | use Pterodactyl\Models; |
@@ -24,7 +24,6 @@ |
||
24 | 24 | |
25 | 25 | namespace Pterodactyl\Http\Controllers\Admin; |
26 | 26 | |
27 | -use DB; |
|
28 | 27 | use Alert; |
29 | 28 | use Pterodactyl\Models; |
30 | 29 | use Illuminate\Http\Request; |
@@ -24,7 +24,6 @@ |
||
24 | 24 | |
25 | 25 | namespace Pterodactyl\Services; |
26 | 26 | |
27 | -use Pterodactyl\Models\User; |
|
28 | 27 | use Pterodactyl\Models\Server; |
29 | 28 | use Pterodactyl\Notifications\Daemon; |
30 | 29 |