Completed
Push — master ( 3a4ed8...24f930 )
by Rudolph
06:20 queued 04:35
created
src/Storage/Filesystem.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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));
Please login to merge, or discard this patch.