From b3daf708ec194e13aa3653c474beb9dca99c056b Mon Sep 17 00:00:00 2001 From: Kevin Frantz Date: Wed, 31 Oct 2018 22:12:00 +0100 Subject: [PATCH] Optimation by php code sniffer --- application/src/Creator/Modificator/Entity/LawModificator.php | 2 -- application/src/Entity/Meta/Relation.php | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/application/src/Creator/Modificator/Entity/LawModificator.php b/application/src/Creator/Modificator/Entity/LawModificator.php index 868650e..c220848 100644 --- a/application/src/Creator/Modificator/Entity/LawModificator.php +++ b/application/src/Creator/Modificator/Entity/LawModificator.php @@ -9,8 +9,6 @@ use App\Entity\Meta\Right; use App\Entity\Meta\LawInterface; use App\DBAL\Types\RecieverType; use App\Entity\Meta\RightInterface; -use App\Entity\Meta\RecieverGroupInterface; -use App\Entity\Meta\RecieverGroup; use App\Entity\Meta\RecieverInterface; use App\Entity\Meta\Reciever; diff --git a/application/src/Entity/Meta/Relation.php b/application/src/Entity/Meta/Relation.php index 016dc0a..9b882dd 100644 --- a/application/src/Entity/Meta/Relation.php +++ b/application/src/Entity/Meta/Relation.php @@ -35,12 +35,14 @@ final class Relation extends AbstractMeta implements RelationInterface * Parents represent the creators of the relation. * * @ORM\ManyToMany(targetEntity="Relation",mappedBy="childs") + * * @var Collection|RelationInterface[] */ protected $parents; /** * Childs represent the by the object produced relations. + * * @ORM\ManyToMany(targetEntity="Relation",inversedBy="parents") * @ORM\JoinTable(name="meta_relation_childs", * joinColumns={@ORM\JoinColumn(name="relation_id", referencedColumnName="id")},