summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Nassabain <marco.nassabain@hotmail.com>2021-03-13 01:33:44 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2021-03-17 08:58:42 +0100
commitef0742e868cd58e992fd14e7bb42518c12d5c87a (patch)
tree9e873a684ab423cdda0f20eea017a2e7efb9e068
parentfd13be0f7a25b74bf901abb6209c00559b61318f (diff)
🐛 Fix Item model: set default value for setTags
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
-rw-r--r--lib/Db/Item.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Db/Item.php b/lib/Db/Item.php
index 6ae0d7975..a987159f8 100644
--- a/lib/Db/Item.php
+++ b/lib/Db/Item.php
@@ -516,7 +516,7 @@ class Item extends Entity implements IAPI, \JsonSerializable
return $this;
}
- public function setTags(string $tags): self
+ public function setTags(string $tags = null): self
{
if ($this->tags !== $tags) {
$this->tags = $tags;