@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Midnight\Block\Storage; |
5 | 5 | |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | |
32 | 32 | private function buildPath(string $id): string |
33 | 33 | { |
34 | - return $this->getDirectory() . DIRECTORY_SEPARATOR . $id; |
|
34 | + return $this->getDirectory().DIRECTORY_SEPARATOR.$id; |
|
35 | 35 | } |
36 | 36 | |
37 | 37 | public function getDirectory(): string |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | public function setDirectory(string $directory) |
46 | 46 | { |
47 | 47 | if (!file_exists($directory)) { |
48 | - set_error_handler(function () { /* ignore errors */ |
|
48 | + set_error_handler(function() { /* ignore errors */ |
|
49 | 49 | }); |
50 | 50 | if (!mkdir($directory) && !is_dir($directory)) { |
51 | 51 | throw new RuntimeException(sprintf('Directory "%s" was not created', $directory)); |