@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | namespace Compolomus\BinaryFileStorage; |
| 4 | 4 | |
@@ -1,4 +1,4 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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; |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | namespace Compolomus\BinaryFileStorage; |
| 4 | 4 | |