Skip to content

Commit e791e02

Browse files
committed
fix: Fix lint errors
1 parent 679fe2d commit e791e02

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

app/Http/Controllers/Api/Client/Servers/SubuserController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class SubuserController extends ClientApiController
2727
public function __construct(
2828
private SubuserRepository $repository,
2929
private SubuserCreationService $creationService,
30-
private DaemonServerRepository $serverRepository
30+
private DaemonServerRepository $serverRepository,
3131
) {
3232
parent::__construct();
3333
}

app/Repositories/Wings/DaemonServerRepository.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class DaemonServerRepository extends DaemonRepository
1313
/**
1414
* Returns details about a server from the Daemon instance.
1515
*
16-
* @throws \Pterodactyl\Exceptions\Http\Connection\DaemonConnectionException
16+
* @throws DaemonConnectionException
1717
*/
1818
public function getDetails(): array
1919
{
@@ -33,7 +33,7 @@ public function getDetails(): array
3333
/**
3434
* Creates a new server on the Wings daemon.
3535
*
36-
* @throws \Pterodactyl\Exceptions\Http\Connection\DaemonConnectionException
36+
* @throws DaemonConnectionException
3737
*/
3838
public function create(bool $startOnCompletion = true): void
3939
{
@@ -54,7 +54,7 @@ public function create(bool $startOnCompletion = true): void
5454
/**
5555
* Triggers a server sync on Wings.
5656
*
57-
* @throws \Pterodactyl\Exceptions\Http\Connection\DaemonConnectionException
57+
* @throws DaemonConnectionException
5858
*/
5959
public function sync(): void
6060
{
@@ -70,7 +70,7 @@ public function sync(): void
7070
/**
7171
* Delete a server from the daemon, forcibly if passed.
7272
*
73-
* @throws \Pterodactyl\Exceptions\Http\Connection\DaemonConnectionException
73+
* @throws DaemonConnectionException
7474
*/
7575
public function delete(): void
7676
{
@@ -86,7 +86,7 @@ public function delete(): void
8686
/**
8787
* Reinstall a server on the daemon.
8888
*
89-
* @throws \Pterodactyl\Exceptions\Http\Connection\DaemonConnectionException
89+
* @throws DaemonConnectionException
9090
*/
9191
public function reinstall(): void
9292
{
@@ -106,7 +106,7 @@ public function reinstall(): void
106106
* Requests the daemon to create a full archive of the server. Once the daemon is finished
107107
* they will send a POST request to "/api/remote/servers/{uuid}/archive" with a boolean.
108108
*
109-
* @throws \Pterodactyl\Exceptions\Http\Connection\DaemonConnectionException
109+
* @throws DaemonConnectionException
110110
*/
111111
public function requestArchive(): void
112112
{
@@ -127,7 +127,7 @@ public function requestArchive(): void
127127
* make it easier to revoke tokens on the fly. This ensures that the JTI key is formatted
128128
* correctly and avoids any costly mistakes in the codebase.
129129
*
130-
* @throws \Pterodactyl\Exceptions\Http\Connection\DaemonConnectionException
130+
* @throws DaemonConnectionException
131131
*/
132132
public function revokeUserJTI(int $id): void
133133
{
@@ -140,7 +140,7 @@ public function revokeUserJTI(int $id): void
140140
* Revokes an array of JWT JTI's by marking any token generated before the current time on
141141
* the Wings instance as being invalid.
142142
*
143-
* @throws \Pterodactyl\Exceptions\Http\Connection\DaemonConnectionException
143+
* @throws DaemonConnectionException
144144
*/
145145
protected function revokeJTIs(array $jtis): void
146146
{
@@ -159,7 +159,7 @@ protected function revokeJTIs(array $jtis): void
159159
/**
160160
* Disconnect active SFTP sessions for a specific user on the server.
161161
*
162-
* @throws \Pterodactyl\Exceptions\Http\Connection\DaemonConnectionException
162+
* @throws DaemonConnectionException
163163
*/
164164
public function disconnectSFTP(string $username): void
165165
{

0 commit comments

Comments
 (0)