@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | { |
72 | 72 | // check if rendition we want to create don't exists already in package |
73 | 73 | $existingRendition = $media->getRenditions() |
74 | - ->filter(static function ($rendition) use ($to) { |
|
74 | + ->filter(static function($rendition) use ($to) { |
|
75 | 75 | /* @var ImageRenditionInterface $rendition */ |
76 | 76 | return $to === $rendition->getName(); |
77 | 77 | }); |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | |
83 | 83 | /** @var ArrayCollection<ImageRenditionInterface> $searchedRenditions */ |
84 | 84 | $searchedRenditions = $media->getRenditions() |
85 | - ->filter(static function ($rendition) use ($from) { |
|
85 | + ->filter(static function($rendition) use ($from) { |
|
86 | 86 | /* @var ImageRenditionInterface $rendition */ |
87 | 87 | return $rendition->getName() === $from; |
88 | 88 | }); |