@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | $size = \filesize($uploadedFile->getRealPath()); |
157 | 157 | $size = $size / 1024; |
158 | 158 | $size = (string) number_format($size); |
159 | - if($size !== null){ |
|
159 | + if ($size !== null) { |
|
160 | 160 | $file->setLength($size); |
161 | 161 | } |
162 | 162 | |
@@ -168,7 +168,7 @@ discard block |
||
168 | 168 | private function findOriginalRendition(ItemInterface $item): RenditionInterface |
169 | 169 | { |
170 | 170 | return $item->getRenditions()->filter( |
171 | - static function (RenditionInterface $rendition) { |
|
171 | + static function(RenditionInterface $rendition) { |
|
172 | 172 | return 'original' === $rendition->getName(); |
173 | 173 | } |
174 | 174 | )->first(); |