Fix some static analisys reports.

This commit is contained in:
Matias De lellis
2023-06-14 22:47:41 -03:00
parent fe65a2f8ce
commit 449219339b
6 changed files with 6 additions and 6 deletions

View File

@@ -38,7 +38,7 @@ class Attach extends Entity implements JsonSerializable {
$this->deepLinkUrl = $deepLinkUrl;
}
public function jsonSerialize() {
public function jsonSerialize(): array {
return [
'id' => $this->id,
'note_id' => $this->noteId,