diff --git a/Classes/FusionObjects/AbstractImageSourceImplementation.php b/Classes/FusionObjects/AbstractImageSourceImplementation.php index 232b2f9..93311e0 100644 --- a/Classes/FusionObjects/AbstractImageSourceImplementation.php +++ b/Classes/FusionObjects/AbstractImageSourceImplementation.php @@ -44,15 +44,15 @@ public function evaluate() : ?ImageSourceHelperInterface } if ($preset = $this->getPreset()) { - $helper->applyPreset($preset); + $helper = $helper->applyPreset($preset); } if ($width = $this->getWidth()) { - $helper->setWidth($width); + $helper = $helper->setWidth($width); } if ($height = $this->getHeight()) { - $helper->setHeight($height); + $helper = $helper->setHeight($height); } return $helper;