From ba67eee37d86ed775dab7dad58a7cbaf9a6cfe78 Mon Sep 17 00:00:00 2001 From: freekmurze Date: Wed, 22 Jan 2025 08:51:18 +0000 Subject: [PATCH] Fix styling --- src/PackageServiceProvider.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/PackageServiceProvider.php b/src/PackageServiceProvider.php index 7312a3e..c65cd85 100644 --- a/src/PackageServiceProvider.php +++ b/src/PackageServiceProvider.php @@ -107,7 +107,7 @@ public function packageView(?string $namespace): ?string protected function bootPackageAssets(): static { - if (!$this->package->hasAssets || !$this->app->runningInConsole()) { + if (! $this->package->hasAssets || ! $this->app->runningInConsole()) { return $this; } @@ -132,7 +132,7 @@ protected function bootPackageCommands(): self protected function bootPackageConsoleCommands(): self { - if (empty($this->package->consoleCommands) || !$this->app->runningInConsole()) { + if (empty($this->package->consoleCommands) || ! $this->app->runningInConsole()) { return $this; } @@ -157,7 +157,7 @@ protected function bootPackageConfigs(): self protected function bootPackageInertia(): self { - if (!$this->package->hasInertiaComponents) { + if (! $this->package->hasInertiaComponents) { return $this; } @@ -191,7 +191,7 @@ protected function bootPackageMigrations(): self $appMigration = $this->generateMigrationName($migrationFileName, $now->addSecond()); // Support for the .stub file extension - if (!file_exists($vendorMigration)) { + if (! file_exists($vendorMigration)) { $vendorMigration .= '.stub'; } @@ -212,7 +212,7 @@ protected function bootPackageMigrations(): self protected function bootPackageProviders(): self { - if (!$this->package->publishableProviderName || !$this->app->runningInConsole()) { + if (! $this->package->publishableProviderName || ! $this->app->runningInConsole()) { return $this; } @@ -240,7 +240,7 @@ protected function bootPackageRoutes(): self protected function bootPackageTranslations(): self { - if (!$this->package->hasTranslations) { + if (! $this->package->hasTranslations) { return $this; } @@ -266,7 +266,7 @@ protected function bootPackageTranslations(): self protected function bootPackageViews(): self { - if (!$this->package->hasViews) { + if (! $this->package->hasViews) { return $this; }