Small fixes

This commit is contained in:
Matias De lellis
2021-09-20 19:27:45 -03:00
parent e4c431cb09
commit 79a8af54de

View File

@@ -11,10 +11,10 @@ use OCP\AppFramework\Db\Entity;
* @method string getTitle()
* @method void setTitle(string $title)
* @method string getContent()
* @method void setContest(string $content)
* @method void setContent(string $content)
* @method int getTimestamp()
* @method void setTimestamp(int $timestamp)
* @method int geColorId()
* @method int getColorId()
* @method void setColorId(int $colorId)
* @method bool getPinned()
* @method void setPinned(bool $pinned)
@@ -61,6 +61,10 @@ class Note extends Entity implements JsonSerializable {
$this->tags = $tags;
}
public function setAttachts(array $attachts) {
$this->attachts = $attachts;
}
public function jsonSerialize() {
return [
'id' => $this->id,