@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | |
38 | 38 | $this->ensureDirectoryExists(dirname($filename)); |
39 | 39 | |
40 | - if (! $this->putContents($filename, $text)) { |
|
40 | + if (!$this->putContents($filename, $text)) { |
|
41 | 41 | throw new \RuntimeException('Unable to write data'); |
42 | 42 | } |
43 | 43 | } catch (\Exception $exception) { |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | */ |
68 | 68 | protected function ensureDirectoryExists(string $path): void |
69 | 69 | { |
70 | - if (! is_dir($path)) { |
|
70 | + if (!is_dir($path)) { |
|
71 | 71 | mkdir($path, 0755, true); |
72 | 72 | } |
73 | 73 | } |