diff --git a/Classes/DataProcessing/ResponsiveImagesProcessor.php b/Classes/DataProcessing/ResponsiveImagesProcessor.php index bf46986..5f80fb3 100644 --- a/Classes/DataProcessing/ResponsiveImagesProcessor.php +++ b/Classes/DataProcessing/ResponsiveImagesProcessor.php @@ -50,7 +50,8 @@ public function __construct( private readonly FileRepository $fileRepository, private readonly BreakpointFactory $breakpointFactory, private readonly RootlineFactory $rootlineFactory - ) {} + ) { + } public function process( ContentObjectRenderer $cObj, @@ -136,7 +137,7 @@ private function calculateFileDimensionForBreakpoints(): array return $fileDimensions; } - public function getData(): array + private function getData(): array { if ( $this->processedData['data'] instanceof ContentBlockData diff --git a/composer.json b/composer.json index b61cf62..f869944 100644 --- a/composer.json +++ b/composer.json @@ -34,6 +34,7 @@ "require-dev": { "b13/container": "^2.3", "codappix/typo3-php-datasets": "^1.5", + "contentblocks/content-blocks": "^0.7", "erickskrauch/php-cs-fixer-custom-fixers": "^1.2", "friendsofphp/php-cs-fixer": "^3.50", "kubawerlos/php-cs-fixer-custom-fixers": "^3.21",