Fixing Blog\{Comment, File}::getId() signature.
This commit is contained in:
parent
c5a63a4259
commit
98f3634cf1
|
@ -65,7 +65,7 @@ class Comment
|
|||
$this->children = new ArrayCollection();
|
||||
}
|
||||
|
||||
public function getId(): int
|
||||
public function getId(): ?int
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@ class File
|
|||
$this->remoteUrl = $remoteUrl;
|
||||
}
|
||||
|
||||
public function getId(): int
|
||||
public function getId(): ?int
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue