diff --git a/src/Entity/Card.php b/src/Entity/Card.php index 93a9241a..66c6794c 100755 --- a/src/Entity/Card.php +++ b/src/Entity/Card.php @@ -796,7 +796,7 @@ public function getImageUrl() /** * @inheritdoc */ - public function setImageUrl(string $imageUrl) + public function setImageUrl(string $imageUrl = null) { $this->imageUrl = $imageUrl; } diff --git a/src/Entity/CardInterface.php b/src/Entity/CardInterface.php index 79bad60c..acb162e1 100644 --- a/src/Entity/CardInterface.php +++ b/src/Entity/CardInterface.php @@ -333,9 +333,9 @@ public function setIsMultiple(bool $isMultiple); public function getImageUrl(); /** - * @param string $imageUrl + * @param string|null $imageUrl */ - public function setImageUrl(string $imageUrl); + public function setImageUrl(string $imageUrl = null); /** * Checks if this card has the "Shadow" keyword.