We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -14,7 +14,7 @@ discard block |
||
| 14 | 14 | protected string $packageName = 'theme-name'; |
| 15 | 15 | protected array $commands = []; |
| 16 | 16 | protected bool $theme = true; |
| 17 | - protected null|string $componentsNamespace = null; |
|
| 17 | + protected null | string $componentsNamespace = null; |
|
| 18 | 18 | |
| 19 | 19 | /** |
| 20 | 20 | * ------------------------- |
@@ -145,7 +145,7 @@ discard block |
||
| 145 | 145 | } |
| 146 | 146 | |
| 147 | 147 | // Registering package commands. |
| 148 | - if (! empty($this->commands)) { |
|
| 148 | + if (!empty($this->commands)) { |
|
| 149 | 149 | $this->commands($this->commands); |
| 150 | 150 | } |
| 151 | 151 | } |
@@ -240,7 +240,7 @@ discard block |
||
| 240 | 240 | protected function packageDirectoryExistsAndIsNotEmpty($name) |
| 241 | 241 | { |
| 242 | 242 | // check if directory exists |
| 243 | - if (! is_dir($this->getPath().'/'.$name)) { |
|
| 243 | + if (!is_dir($this->getPath().'/'.$name)) { |
|
| 244 | 244 | return false; |
| 245 | 245 | } |
| 246 | 246 | |
@@ -264,8 +264,8 @@ discard block |
||
| 264 | 264 | |
| 265 | 265 | public function registerPackageBladeComponents() |
| 266 | 266 | { |
| 267 | - if($this->componentsNamespace) { |
|
| 268 | - $this->app->afterResolving(BladeCompiler::class, function () { |
|
| 267 | + if ($this->componentsNamespace) { |
|
| 268 | + $this->app->afterResolving(BladeCompiler::class, function() { |
|
| 269 | 269 | Blade::componentNamespace($this->componentsNamespace, $this->packageName); |
| 270 | 270 | }); |
| 271 | 271 | } |