Skip to content

Commit

Permalink
Merge pull request #2 from DFAU/php-8-fix
Browse files Browse the repository at this point in the history
Resolve undefined array key warning
  • Loading branch information
christophlehmann authored Oct 27, 2023
2 parents 6d92325 + 14a19af commit 3179be7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Classes/Processor/ImgProxyProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ public function processTask(TaskInterface $task)
);
$urlBuilder->setResizeType('force');
} elseif (
str_ends_with($processingConfiguration['width'], 'c') ||
str_ends_with($processingConfiguration['height'], 'c')
str_ends_with($processingConfiguration['width'] ?? '', 'c') ||
str_ends_with($processingConfiguration['height'] ?? '', 'c')
) {
$urlBuilder->setResizeType('fill');
}
Expand Down

0 comments on commit 3179be7

Please sign in to comment.