@@ -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 | } |
@@ -18,7 +18,7 @@ |
||
18 | 18 | */ |
19 | 19 | protected static function needsDirectory(string $directory): void |
20 | 20 | { |
21 | - if (! Filesystem::exists($directory)) { |
|
21 | + if (!Filesystem::exists($directory)) { |
|
22 | 22 | Filesystem::makeDirectory($directory, recursive: true); |
23 | 23 | } |
24 | 24 | } |