Skip to content

Commit

Permalink
Make sure it still runs on lowest
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed Sep 4, 2024
1 parent e825203 commit 3906394
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
'fully_qualified_strict_types' => false,
'new_with_parentheses' => true,
'modernize_strpos' => false,
'trailing_comma_in_multiline' => ['after_heredoc' => true, 'elements' => ['array_destructuring', 'arrays']],
])
->setFinder($finder);

Expand Down
4 changes: 2 additions & 2 deletions src/ImageExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public function __construct(
array $defaultAttributes = [],
array $defaultAdditionalTypes = [],
bool $aspectRatio = false,
?array $imageFormatConfiguration = null,
?array $imageFormatConfiguration = null
) {
if (null !== $placeholderPath) {
$this->placeholderPath = rtrim($placeholderPath, '/') . '/';
Expand Down Expand Up @@ -193,7 +193,7 @@ private function createImage(
$attributes = [],
array $sources = [],
?array $lazyThumbnails = null,
array $additionalTypes = [],
array $additionalTypes = []
): string {
// Return an empty string if no one of the needed parameters is set.
if (empty($media) || empty($attributes)) {
Expand Down

0 comments on commit 3906394

Please sign in to comment.