From 61df30d4c42d6d59d0998e4ccf8d3aeb8890a39a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Bar=C3=A1=C5=A1ek?= Date: Thu, 8 Jul 2021 15:14:21 +0200 Subject: [PATCH] Fix coding standard. --- src/Entity/StaticPage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Entity/StaticPage.php b/src/Entity/StaticPage.php index 9f31e5e..e6b91ba 100644 --- a/src/Entity/StaticPage.php +++ b/src/Entity/StaticPage.php @@ -45,11 +45,11 @@ class StaticPage #[ORM\Column(type: 'datetime')] private \DateTime $insertedDate; - #[ORM\ManyToOne(targetEntity: StaticPage::class, inversedBy: 'children')] + #[ORM\ManyToOne(targetEntity: self::class, inversedBy: 'children')] private ?self $parent; /** @var self[]|Collection */ - #[ORM\OneToMany(mappedBy: 'parent', targetEntity: StaticPage::class)] + #[ORM\OneToMany(mappedBy: 'parent', targetEntity: self::class)] private $children;