@@ -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 @@ |
||
| 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 | |
@@ -35,7 +35,7 @@ discard block |
||
| 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 |
||
| 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; |