From 398d2288e3245490fdd5425960e48d52613b3f94 Mon Sep 17 00:00:00 2001 From: Daniel Gohlke Date: Wed, 12 Jun 2024 15:08:54 +0200 Subject: [PATCH] TASK: Add content-blocks to dev dependencies --- Classes/DataProcessing/ResponsiveImagesProcessor.php | 2 +- composer.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Classes/DataProcessing/ResponsiveImagesProcessor.php b/Classes/DataProcessing/ResponsiveImagesProcessor.php index bf46986..96b02fd 100644 --- a/Classes/DataProcessing/ResponsiveImagesProcessor.php +++ b/Classes/DataProcessing/ResponsiveImagesProcessor.php @@ -136,7 +136,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 7c382ad..241a867 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",