Rector: apply rules for doctrine code quality

This commit is contained in:
2023-08-31 10:35:52 +02:00
parent bc9b7b1776
commit e4e52234ad
32 changed files with 74 additions and 92 deletions

View File

@@ -35,7 +35,7 @@ class CommentEmbeddable
* @var int
* @ORM\Column(type="integer", nullable=true)
*/
private $userId;
private ?int $userId = null;
public function getComment(): ?string
{