Passed
Branch master (1e1f8b)
by compolom
02:49 queued 01:00
created
src/Upload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace Compolomus\BinaryFileStorage;
4 4
 
Please login to merge, or discard this patch.
src/Storage.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace Compolomus\BinaryFileStorage;
4 4
 
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
         return $dir;
37 37
     }
38 38
 
39
-    public function check(array $input): ?array
39
+    public function check(array $input): ? array
40 40
     {
41 41
         if (\count($input)) {
42 42
             return $this->add($this->upload->process($input));
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
                 $this->config['secondDirLen']);
106 106
     }
107 107
 
108
-    public function getInfoFile(string $file): ?array
108
+    public function getInfoFile(string $file): ? array
109 109
     {
110 110
         $fileName = $this->dirName($file) . DIRECTORY_SEPARATOR . $file . '.json';
111 111
         return \is_file($fileName) ? \json_decode(\file_get_contents($fileName), true) : null;
Please login to merge, or discard this patch.
src/File.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace Compolomus\BinaryFileStorage;
4 4
 
Please login to merge, or discard this patch.