Skip to content

Commit

Permalink
Merge pull request #5449 from mficzel/bugfix/fixErrorDuringSiteImport
Browse files Browse the repository at this point in the history
BUGFIX: fix error during site import
  • Loading branch information
kdambekalns authored Jan 24, 2025
2 parents 796fe8f + e35d4de commit 30f4f8c
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,8 @@ public function getY(): ?int

/**
* This setter accepts strings in order to make configuration / mapping of settings easier.
*
* @param AspectRatio | string | null $aspectRatio
*/
public function setAspectRatio($aspectRatio = null): void
public function setAspectRatio(AspectRatio|string|null $aspectRatio = null): void
{
if ($aspectRatio === null) {
$this->aspectRatioAsString = null;
Expand Down

0 comments on commit 30f4f8c

Please sign in to comment.