From 3be0d85b86f89b8fe57df325eb5f720b642175c8 Mon Sep 17 00:00:00 2001 From: Stefan Topfstedt Date: Tue, 29 Sep 2020 18:43:31 -0700 Subject: [PATCH] allows for setting of null for image url. --- src/Entity/Card.php | 2 +- src/Entity/CardInterface.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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.