Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

Commit

Permalink
Fix coding standard.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Barášek committed Jul 8, 2021
1 parent 4548695 commit 61df30d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Entity/StaticPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;


Expand Down

0 comments on commit 61df30d

Please sign in to comment.