Passed
Branch develop (49245f)
by compolom
01:26
created
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.
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
 
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
         return $dir;
36 36
     }
37 37
 
38
-    public function check(array $input): ?array
38
+    public function check(array $input): ? array
39 39
     {
40 40
         if (count($input)) {
41 41
             return $this->add($this->upload->process($input));
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
                 $this->config['secondDirLen']);
100 100
     }
101 101
 
102
-    public function getInfoFile(string $file): ?array
102
+    public function getInfoFile(string $file): ? array
103 103
     {
104 104
         $fileName = $this->dirName($file) . DIRECTORY_SEPARATOR . $file . '.php';
105 105
         return is_file($fileName) ? include $fileName : null;
Please login to merge, or discard this patch.
src/Upload.php 1 patch
Spacing   +2 added lines, -2 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
 
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
                 if (!is_array($value)) {
54 54
                     $result[$fieldName][$key] = $value;
55 55
                 } else {
56
-                    array_walk($value, function ($v, $k) use (&$result, $key) {
56
+                    array_walk($value, function($v, $k) use (&$result, $key) {
57 57
                         $result[$k][$key] = $v;
58 58
                     });
59 59
                 }
Please login to merge, or discard this patch.