Skip to content

Commit

Permalink
Pint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lancepioch committed Dec 9, 2024
1 parent 6adf8e1 commit a1a9b12
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
6 changes: 3 additions & 3 deletions app/Http/Controllers/Api/Client/Servers/BackupController.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ class BackupController extends ClientApiController
{
public function __construct(
private readonly DaemonBackupRepository $daemonRepository,
private readonly DeleteBackupService $deleteBackupService,
private readonly InitiateBackupService $initiateBackupService,
private readonly DownloadLinkService $downloadLinkService,
private readonly DeleteBackupService $deleteBackupService,
private readonly InitiateBackupService $initiateBackupService,
private readonly DownloadLinkService $downloadLinkService,
) {
parent::__construct();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use Illuminate\Http\Response;
use App\Models\Server;
use App\Facades\Activity;
use Psr\Http\Message\ResponseInterface;
use GuzzleHttp\Exception\BadResponseException;
use Symfony\Component\HttpKernel\Exception\HttpException;
use App\Http\Controllers\Api\Client\ClientApiController;
Expand Down
2 changes: 1 addition & 1 deletion app/PHPStan/ForbiddenGlobalFunctionsRule.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function processNode(Node $node, Scope $scope): array
RuleErrorBuilder::message(sprintf(
'Usage of global function "%s" is forbidden.',
$functionName,
))->identifier('myCustomRules.forbiddenGlobalFunctions')->build()
))->identifier('myCustomRules.forbiddenGlobalFunctions')->build(),
];
}
}
Expand Down
6 changes: 3 additions & 3 deletions app/Services/Backups/InitiateBackupService.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ class InitiateBackupService
* InitiateBackupService constructor.
*/
public function __construct(
private readonly ConnectionInterface $connection,
private readonly ConnectionInterface $connection,
private readonly DaemonBackupRepository $daemonBackupRepository,
private readonly DeleteBackupService $deleteBackupService,
private readonly BackupManager $backupManager
private readonly DeleteBackupService $deleteBackupService,
private readonly BackupManager $backupManager
) {}

/**
Expand Down

0 comments on commit a1a9b12

Please sign in to comment.