@@ -40,7 +40,7 @@ |
||
40 | 40 | /** |
41 | 41 | * Setup allocation transformer with access to server data. |
42 | 42 | * |
43 | - * @return void |
|
43 | + * @return callable |
|
44 | 44 | */ |
45 | 45 | public function __construct(Server $server) |
46 | 46 | { |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | /** |
68 | 68 | * Return a generic array of allocations for this server. |
69 | 69 | * |
70 | - * @return \Leauge\Fractal\Resource\Collection |
|
70 | + * @return \League\Fractal\Resource\Collection |
|
71 | 71 | */ |
72 | 72 | public function includeAllocations(Server $server) |
73 | 73 | { |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | /** |
80 | 80 | * Return a generic array of subusers for this server. |
81 | 81 | * |
82 | - * @return \Leauge\Fractal\Resource\Collection |
|
82 | + * @return \League\Fractal\Resource\Collection |
|
83 | 83 | */ |
84 | 84 | public function includeSubusers(Server $server) |
85 | 85 | { |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | /** |
92 | 92 | * Return a generic array of allocations for this server. |
93 | 93 | * |
94 | - * @return \Leauge\Fractal\Resource\Item |
|
94 | + * @return \League\Fractal\Resource\Item |
|
95 | 95 | */ |
96 | 96 | public function includeStats(Server $server) |
97 | 97 | { |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Pterodactyl\Exceptions; |
4 | 4 | |
5 | -use Log; |
|
6 | 5 | use Exception; |
7 | 6 | use Illuminate\Auth\AuthenticationException; |
8 | 7 | use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; |
@@ -26,7 +26,6 @@ |
||
26 | 26 | |
27 | 27 | use DB; |
28 | 28 | use Crypt; |
29 | -use Config; |
|
30 | 29 | use Validator; |
31 | 30 | use Pterodactyl\Models\Server; |
32 | 31 | use Pterodactyl\Models\Database; |
@@ -26,13 +26,11 @@ |
||
26 | 26 | namespace Pterodactyl\Http\Controllers\Auth; |
27 | 27 | |
28 | 28 | use Auth; |
29 | -use Alert; |
|
30 | 29 | use Cache; |
31 | 30 | use Crypt; |
32 | 31 | use Illuminate\Http\Request; |
33 | 32 | use Pterodactyl\Models\User; |
34 | 33 | use PragmaRX\Google2FA\Google2FA; |
35 | -use Pterodactyl\Events\Auth\FailedLogin; |
|
36 | 34 | use Pterodactyl\Http\Controllers\Controller; |
37 | 35 | use Illuminate\Foundation\Auth\AuthenticatesUsers; |
38 | 36 |