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:
parent
fd13be0f7a
commit
ef0742e868
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user