diff --git a/Classes/Domain/DummyImageSource.php b/Classes/Domain/DummyImageSource.php index 82b5eee..c93884e 100644 --- a/Classes/Domain/DummyImageSource.php +++ b/Classes/Domain/DummyImageSource.php @@ -58,7 +58,7 @@ public function __construct(string $baseUri, ?string $title = null, ?string $alt public function withVariantPreset(string $presetIdentifier, string $presetVariantName): ImageSourceInterface { /** @var DummyImageSource $newSource */ - $newSource = parent::useVariantPreset($presetIdentifier, $presetVariantName); + $newSource = parent::withVariantPreset($presetIdentifier, $presetVariantName); if ($newSource->targetImageVariant !== []) { $targetBox = $this->estimateDimensionsFromVariantPresetAdjustments($presetIdentifier, $presetVariantName);