@@ -67,7 +67,7 @@ |
||
67 | 67 | */ |
68 | 68 | protected static function getTempFile(string $content) |
69 | 69 | { |
70 | - $stream = fopen('php://memory','rb+'); |
|
70 | + $stream = fopen('php://memory', 'rb+'); |
|
71 | 71 | fwrite($stream, $content); // write file into stream |
72 | 72 | rewind($stream); // reset stream pointer to start |
73 | 73 |
@@ -23,7 +23,7 @@ |
||
23 | 23 | * @var array |
24 | 24 | */ |
25 | 25 | public static $iconPreviewArray = [ |
26 | - 'file' => ['txt', 'doc',], |
|
26 | + 'file' => ['txt', 'doc', ], |
|
27 | 27 | ]; |
28 | 28 | |
29 | 29 | /** |
@@ -85,6 +85,6 @@ |
||
85 | 85 | return true; |
86 | 86 | } |
87 | 87 | |
88 | - return (bool)\call_user_func($this->saveCachedStateCallback, $this); |
|
88 | + return (bool) \call_user_func($this->saveCachedStateCallback, $this); |
|
89 | 89 | } |
90 | 90 | } |
91 | 91 | \ No newline at end of file |