Fix some static analisys reports.

This commit is contained in:
Matias De lellis committed 2023-06-14 22:47:41 -03:00
1 parent fe65a2f8ce
commit 449219339b
6 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -65,7 +65,7 @@ class Note extends Entity implements JsonSerializable {
$this->attachts = $attachts;
}
public function jsonSerialize() {
public function jsonSerialize(): array {
return [
'id' => $this->id,
'title' => $this->title,