WIP: Symfony 6 project remake #2
|
@ -65,7 +65,7 @@ class Comment
|
||||||
$this->children = new ArrayCollection();
|
$this->children = new ArrayCollection();
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getId(): int
|
public function getId(): ?int
|
||||||
{
|
{
|
||||||
return $this->id;
|
return $this->id;
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,7 +25,7 @@ class File
|
||||||
$this->remoteUrl = $remoteUrl;
|
$this->remoteUrl = $remoteUrl;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getId(): int
|
public function getId(): ?int
|
||||||
{
|
{
|
||||||
return $this->id;
|
return $this->id;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue