mirror of
https://github.com/JanGross/quicknotes.git
synced 2025-11-30 23:37:16 +01:00
Fix some static analisys reports.
This commit is contained in:
@@ -13,7 +13,7 @@ class Color extends Entity implements JsonSerializable {
|
||||
|
||||
protected $color;
|
||||
|
||||
public function jsonSerialize() {
|
||||
public function jsonSerialize(): array {
|
||||
return [
|
||||
'id' => $this->id,
|
||||
'color' => $this->color
|
||||
|
||||
Reference in New Issue
Block a user