@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace tkanstantsin\fileupload\formatter\preview; |
| 5 | 5 | |
@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | * @var array |
| 20 | 20 | */ |
| 21 | 21 | public static $iconPreviewArray = [ |
| 22 | - 'file' => ['txt', 'doc',], |
|
| 22 | + 'file' => ['txt', 'doc', ], |
|
| 23 | 23 | ]; |
| 24 | 24 | |
| 25 | 25 | /** |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace tkanstantsin\fileupload\formatter; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace tkanstantsin\fileupload\formatter; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace tkanstantsin\fileupload\formatter\icon; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace tkanstantsin\fileupload\formatter\icon; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace tkanstantsin\fileupload\formatter\icon; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace tkanstantsin\fileupload\saver; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace tkanstantsin\fileupload\saver; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace tkanstantsin\fileupload\saver; |
| 5 | 5 | |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | */ |
| 69 | 69 | protected static function getTempFile(string $content) |
| 70 | 70 | { |
| 71 | - $stream = fopen('php://memory','rb+'); |
|
| 71 | + $stream = fopen('php://memory', 'rb+'); |
|
| 72 | 72 | fwrite($stream, $content); // write file into stream |
| 73 | 73 | rewind($stream); // reset stream pointer to start |
| 74 | 74 | |