@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | */ |
| 23 | 23 | protected function file(string $path, ?string $contents = null): void |
| 24 | 24 | { |
| 25 | - if (! is_dir(dirname($path))) { |
|
| 25 | + if (!is_dir(dirname($path))) { |
|
| 26 | 26 | $this->directory(dirname($path)); |
| 27 | 27 | } |
| 28 | 28 | |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | if (sizeof($this->fileMemory) > 0) { |
| 64 | 64 | foreach ($this->fileMemory as $file) { |
| 65 | 65 | if (Filesystem::isDirectory($file)) { |
| 66 | - if (! in_array($file, ['_site', '_media', '_pages', '_posts', '_docs', 'app', 'config', 'storage', 'vendor', 'node_modules'])) { |
|
| 66 | + if (!in_array($file, ['_site', '_media', '_pages', '_posts', '_docs', 'app', 'config', 'storage', 'vendor', 'node_modules'])) { |
|
| 67 | 67 | Filesystem::deleteDirectory($file); |
| 68 | 68 | } |
| 69 | 69 | } else { |