Add types to Note

This commit is contained in:
Matias De lellis
2021-09-19 22:33:29 -03:00
parent 13d9fda445
commit 974faf866a
2 changed files with 18 additions and 8 deletions

View File

@@ -21,11 +21,11 @@ class Note extends Entity implements JsonSerializable {
protected $color;
protected $isPinned;
public function setColor($color) {
public function setColor($color): void {
$this->color = $color;
}
public function setIsPinned($pinned) {
public function setIsPinned($pinned): void {
$this->isPinned = $pinned;
}