Skip to content

Commit

Permalink
fix: Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
MinerPL committed Feb 4, 2025
1 parent 679fe2d commit e791e02
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class SubuserController extends ClientApiController
public function __construct(
private SubuserRepository $repository,
private SubuserCreationService $creationService,
private DaemonServerRepository $serverRepository
private DaemonServerRepository $serverRepository,
) {
parent::__construct();
}
Expand Down
18 changes: 9 additions & 9 deletions app/Repositories/Wings/DaemonServerRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class DaemonServerRepository extends DaemonRepository
/**
* Returns details about a server from the Daemon instance.
*
* @throws \Pterodactyl\Exceptions\Http\Connection\DaemonConnectionException
* @throws DaemonConnectionException
*/
public function getDetails(): array
{
Expand All @@ -33,7 +33,7 @@ public function getDetails(): array
/**
* Creates a new server on the Wings daemon.
*
* @throws \Pterodactyl\Exceptions\Http\Connection\DaemonConnectionException
* @throws DaemonConnectionException
*/
public function create(bool $startOnCompletion = true): void
{
Expand All @@ -54,7 +54,7 @@ public function create(bool $startOnCompletion = true): void
/**
* Triggers a server sync on Wings.
*
* @throws \Pterodactyl\Exceptions\Http\Connection\DaemonConnectionException
* @throws DaemonConnectionException
*/
public function sync(): void
{
Expand All @@ -70,7 +70,7 @@ public function sync(): void
/**
* Delete a server from the daemon, forcibly if passed.
*
* @throws \Pterodactyl\Exceptions\Http\Connection\DaemonConnectionException
* @throws DaemonConnectionException
*/
public function delete(): void
{
Expand All @@ -86,7 +86,7 @@ public function delete(): void
/**
* Reinstall a server on the daemon.
*
* @throws \Pterodactyl\Exceptions\Http\Connection\DaemonConnectionException
* @throws DaemonConnectionException
*/
public function reinstall(): void
{
Expand All @@ -106,7 +106,7 @@ public function reinstall(): void
* Requests the daemon to create a full archive of the server. Once the daemon is finished
* they will send a POST request to "/api/remote/servers/{uuid}/archive" with a boolean.
*
* @throws \Pterodactyl\Exceptions\Http\Connection\DaemonConnectionException
* @throws DaemonConnectionException
*/
public function requestArchive(): void
{
Expand All @@ -127,7 +127,7 @@ public function requestArchive(): void
* make it easier to revoke tokens on the fly. This ensures that the JTI key is formatted
* correctly and avoids any costly mistakes in the codebase.
*
* @throws \Pterodactyl\Exceptions\Http\Connection\DaemonConnectionException
* @throws DaemonConnectionException
*/
public function revokeUserJTI(int $id): void
{
Expand All @@ -140,7 +140,7 @@ public function revokeUserJTI(int $id): void
* Revokes an array of JWT JTI's by marking any token generated before the current time on
* the Wings instance as being invalid.
*
* @throws \Pterodactyl\Exceptions\Http\Connection\DaemonConnectionException
* @throws DaemonConnectionException
*/
protected function revokeJTIs(array $jtis): void
{
Expand All @@ -159,7 +159,7 @@ protected function revokeJTIs(array $jtis): void
/**
* Disconnect active SFTP sessions for a specific user on the server.
*
* @throws \Pterodactyl\Exceptions\Http\Connection\DaemonConnectionException
* @throws DaemonConnectionException
*/
public function disconnectSFTP(string $username): void
{
Expand Down

0 comments on commit e791e02

Please sign in to comment.