[COMPONENT][Notification] Re-introduce the concept of note attention

Minor refactoring and bug fixing
This commit is contained in:
2022-02-16 06:56:59 +00:00
parent e70acd5c3b
commit 2d5fac7a89
5 changed files with 124 additions and 36 deletions

View File

@@ -210,7 +210,7 @@ class Note extends Entity
return $this->language_id;
}
public function setType(VisibilityScope|int $type): self
public function setType(NoteType|int $type): self
{
$this->type = is_int($type) ? $type : $type->value;
return $this;