diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index d5beaf4..5437ac9 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -24,7 +24,7 @@ public function boot(): void $this->app['mail.manager']->extend('brevo', function ($config) { $configuration = $this->app->make('config'); - return (new BrevoTransportFactory())->create( + return (new BrevoTransportFactory)->create( Dsn::fromString($configuration->get('services.brevo.dsn')) ); }); diff --git a/packages/backup-server-ui/src/Resources/BackupResource/Pages/ListBackups.php b/packages/backup-server-ui/src/Resources/BackupResource/Pages/ListBackups.php index 31d6240..d0ddee5 100644 --- a/packages/backup-server-ui/src/Resources/BackupResource/Pages/ListBackups.php +++ b/packages/backup-server-ui/src/Resources/BackupResource/Pages/ListBackups.php @@ -69,7 +69,7 @@ protected function manualBackup($sourceName): int }; */ - (new CreateBackupAction()) + (new CreateBackupAction) ->doNotUseQueue() //->afterBackupModelCreated($writeLogItemsToConsole) ->execute($source); diff --git a/packages/devops/src/Commands/SyncForgeData.php b/packages/devops/src/Commands/SyncForgeData.php index ad6de3b..e4054ea 100644 --- a/packages/devops/src/Commands/SyncForgeData.php +++ b/packages/devops/src/Commands/SyncForgeData.php @@ -15,7 +15,7 @@ class SyncForgeData extends Command public function handle() { - $client = new Client(); + $client = new Client; $apiKey = config('devops.forge_api_key'); $baseUrl = config('devops.forge_api_url');