@@ -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 |
@@ -125,7 +125,7 @@ |
||
125 | 125 | |
126 | 126 | protected function validateType(string $pageClass): void |
127 | 127 | { |
128 | - if (! in_array($pageClass, [MarkdownPage::class, BladePage::class, DocumentationPage::class])) { |
|
128 | + if (!in_array($pageClass, [MarkdownPage::class, BladePage::class, DocumentationPage::class])) { |
|
129 | 129 | throw new UnsupportedPageTypeException('The page type must be either "markdown", "blade", or "documentation"'); |
130 | 130 | } |
131 | 131 | } |