Optimation by php code sniffer

This commit is contained in:
Kevin Frantz 2018-10-31 22:12:00 +01:00
parent 492b9bed4a
commit b3daf708ec
2 changed files with 2 additions and 2 deletions

View File

@ -9,8 +9,6 @@ use App\Entity\Meta\Right;
use App\Entity\Meta\LawInterface; use App\Entity\Meta\LawInterface;
use App\DBAL\Types\RecieverType; use App\DBAL\Types\RecieverType;
use App\Entity\Meta\RightInterface; use App\Entity\Meta\RightInterface;
use App\Entity\Meta\RecieverGroupInterface;
use App\Entity\Meta\RecieverGroup;
use App\Entity\Meta\RecieverInterface; use App\Entity\Meta\RecieverInterface;
use App\Entity\Meta\Reciever; use App\Entity\Meta\Reciever;

View File

@ -35,12 +35,14 @@ final class Relation extends AbstractMeta implements RelationInterface
* Parents represent the creators of the relation. * Parents represent the creators of the relation.
* *
* @ORM\ManyToMany(targetEntity="Relation",mappedBy="childs") * @ORM\ManyToMany(targetEntity="Relation",mappedBy="childs")
*
* @var Collection|RelationInterface[] * @var Collection|RelationInterface[]
*/ */
protected $parents; protected $parents;
/** /**
* Childs represent the by the object produced relations. * Childs represent the by the object produced relations.
*
* @ORM\ManyToMany(targetEntity="Relation",inversedBy="parents") * @ORM\ManyToMany(targetEntity="Relation",inversedBy="parents")
* @ORM\JoinTable(name="meta_relation_childs", * @ORM\JoinTable(name="meta_relation_childs",
* joinColumns={@ORM\JoinColumn(name="relation_id", referencedColumnName="id")}, * joinColumns={@ORM\JoinColumn(name="relation_id", referencedColumnName="id")},