@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | return $this->__call('compile', []); |
| 95 | 95 | } |
| 96 | 96 | |
| 97 | - if ($this->getBladeView() && ! $this->getContents()) { |
|
| 97 | + if ($this->getBladeView() && !$this->getContents()) { |
|
| 98 | 98 | if (str_ends_with($this->getBladeView(), '.blade.php')) { |
| 99 | 99 | // If the view key is for a Blade file path, we'll use the anonymous view compiler to compile it. |
| 100 | 100 | // This allows you to use any arbitrary file, without needing to register its namespace or directory. |
@@ -124,7 +124,7 @@ discard block |
||
| 124 | 124 | */ |
| 125 | 125 | public function __call(string $method, array $parameters): mixed |
| 126 | 126 | { |
| 127 | - if (! isset($this->macros[$method])) { |
|
| 127 | + if (!isset($this->macros[$method])) { |
|
| 128 | 128 | throw new BadMethodCallException(sprintf( |
| 129 | 129 | 'Method %s::%s does not exist.', static::class, $method |
| 130 | 130 | )); |
@@ -14,7 +14,7 @@ discard block |
||
| 14 | 14 | /** Get all the configuration files for the application. */ |
| 15 | 15 | protected function getConfigurationFiles(Application $app): array |
| 16 | 16 | { |
| 17 | - return tap(parent::getConfigurationFiles($app), function (array &$files) use ($app): void { |
|
| 17 | + return tap(parent::getConfigurationFiles($app), function(array &$files) use ($app): void { |
|
| 18 | 18 | // Inject our custom config file which is stored in `app/config.php`. |
| 19 | 19 | $files['app'] = $app->basePath().DIRECTORY_SEPARATOR.'app'.DIRECTORY_SEPARATOR.'config.php'; |
| 20 | 20 | |
@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | // If we're running in a Phar and no project config directory exists, |
| 63 | 63 | // we need to adjust the path to use the bundled static Phar config file. |
| 64 | 64 | |
| 65 | - if (\Phar::running() && (! is_dir($files['app']))) { |
|
| 65 | + if (\Phar::running() && (!is_dir($files['app']))) { |
|
| 66 | 66 | $files['app'] = dirname(__DIR__, 6).DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'app.php'; |
| 67 | 67 | } |
| 68 | 68 | } |
@@ -140,7 +140,7 @@ |
||
| 140 | 140 | */ |
| 141 | 141 | public function vendorPath(string $path = '', string $package = 'framework'): string |
| 142 | 142 | { |
| 143 | - if (PharSupport::running() && ! PharSupport::hasVendorDirectory()) { |
|
| 143 | + if (PharSupport::running() && !PharSupport::hasVendorDirectory()) { |
|
| 144 | 144 | return PharSupport::vendorPath($path, $package); |
| 145 | 145 | } |
| 146 | 146 | |