1
0
mirror of https://github.com/chylex/Nextcloud-News.git synced 2025-01-01 17:42:46 +01:00

🐛 Fix Item model: set default value for setTags

Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
This commit is contained in:
Marco Nassabain 2021-03-13 01:33:44 +01:00 committed by Sean Molenaar
parent fd13be0f7a
commit ef0742e868

View File

@ -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;