Fixing Blog\{Comment, File}::getId() signature.

This commit is contained in:
Alexey Skobkin 2023-03-19 17:24:10 +03:00
parent c5a63a4259
commit 98f3634cf1
No known key found for this signature in database
GPG Key ID: 5D5CEF6F221278E7
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ class Comment
$this->children = new ArrayCollection();
}
public function getId(): int
public function getId(): ?int
{
return $this->id;
}

View File

@ -25,7 +25,7 @@ class File
$this->remoteUrl = $remoteUrl;
}
public function getId(): int
public function getId(): ?int
{
return $this->id;
}