mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-11-30 23:37:16 +01:00
Add types to Note
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user