Skip to content

Commit

Permalink
TASK: Add content-blocks to dev dependencies
Browse files Browse the repository at this point in the history
Relates: #20
  • Loading branch information
d-g-codappix committed Aug 30, 2024
1 parent 12da05f commit 938e9c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Classes/DataProcessing/ResponsiveImagesProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ public function __construct(
private readonly FileRepository $fileRepository,
private readonly BreakpointFactory $breakpointFactory,
private readonly RootlineFactory $rootlineFactory
) {}
) {
}

public function process(
ContentObjectRenderer $cObj,
Expand Down Expand Up @@ -136,7 +137,7 @@ private function calculateFileDimensionForBreakpoints(): array
return $fileDimensions;
}

public function getData(): array
private function getData(): array
{
if (
$this->processedData['data'] instanceof ContentBlockData
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 938e9c4

Please sign in to comment.