mirror of
https://github.com/JanGross/quicknotes.git
synced 2026-12-01 02:17:00 +01:00
Add types to Note
This commit is contained in:
1 parent
13d9fda445
commit
974faf866a
2 files changed
+18
-8
No files matched your search
+2
-2
@@ -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