Passed
Pull Request — master (#58)
by Daniel
08:54 queued 02:27
created
src/Annotation/UploadableField.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
 
26 26
     public ?string $prefix = null;
27 27
 
28
-    public ?array $imagineFilters = [];
28
+    public ? array $imagineFilters = [];
29 29
 
30 30
     // Nice to have - feature to configure the IRI in the output media objects for this field
31 31
     // public string $iri = 'http://schema.org/MediaObject';
Please login to merge, or discard this patch.
src/EventListener/Imagine/ImagineEventListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     public function onStore(ImagineStoreEvent $event): void
40 40
     {
41 41
         $content = $event->binary->getContent();
42
-        [ $width, $height ] = getimagesizefromstring($content);
42
+        [$width, $height] = getimagesizefromstring($content);
43 43
         $fileSize = \strlen($content);
44 44
 
45 45
         $fileInfo = new FileInfo($event->path, $event->binary->getMimeType(), $fileSize, $width, $height, $event->filter);
Please login to merge, or discard this patch.