From 7cf162bb6a3fa66b353292f261701c0381457649 Mon Sep 17 00:00:00 2001 From: Kevin Frantz Date: Sun, 25 Nov 2018 23:38:22 +0100 Subject: [PATCH] Solved some naming bugs --- application/src/Entity/Attribut/CreatorRelationAttribut.php | 2 +- .../src/Entity/Attribut/CreatorRelationAttributInterface.php | 2 +- .../src/Entity/Meta/Relation/Parent/CreatorRelation.php | 3 +-- .../Entity/Meta/Relation/Parent/CreatorRelationInterface.php | 4 +++- .../Unit/Entity/Attribut/CreatorRelationAttributTest.php | 2 +- .../tests/Unit/Entity/Attribut/RelationAttributTest.php | 2 +- 6 files changed, 8 insertions(+), 7 deletions(-) diff --git a/application/src/Entity/Attribut/CreatorRelationAttribut.php b/application/src/Entity/Attribut/CreatorRelationAttribut.php index fa91d85..a5cb5b6 100644 --- a/application/src/Entity/Attribut/CreatorRelationAttribut.php +++ b/application/src/Entity/Attribut/CreatorRelationAttribut.php @@ -2,7 +2,7 @@ namespace App\Entity\Attribut; -use App\Entity\Meta\Relation\CreatorRelationInterface; +use App\Entity\Meta\Relation\Parent\CreatorRelationInterface; trait CreatorRelationAttribut { diff --git a/application/src/Entity/Attribut/CreatorRelationAttributInterface.php b/application/src/Entity/Attribut/CreatorRelationAttributInterface.php index cea3475..20aa330 100644 --- a/application/src/Entity/Attribut/CreatorRelationAttributInterface.php +++ b/application/src/Entity/Attribut/CreatorRelationAttributInterface.php @@ -2,7 +2,7 @@ namespace App\Entity\Attribut; -use App\Entity\Meta\Relation\CreatorRelationInterface; +use App\Entity\Meta\Relation\Parent\CreatorRelationInterface; interface CreatorRelationAttributInterface { diff --git a/application/src/Entity/Meta/Relation/Parent/CreatorRelation.php b/application/src/Entity/Meta/Relation/Parent/CreatorRelation.php index 05047ca..4a664bf 100644 --- a/application/src/Entity/Meta/Relation/Parent/CreatorRelation.php +++ b/application/src/Entity/Meta/Relation/Parent/CreatorRelation.php @@ -4,14 +4,13 @@ namespace App\Entity\Meta\Relation\Parent; use Doctrine\ORM\Mapping as ORM; use Doctrine\Common\Collections\Collection; -use App\Entity\Meta\Relation\CreatorRelationInterface; use App\Entity\Source\SourceInterface; /** * @author kevinfrantz * @ORM\Entity() */ -class CreatorRelation extends AbstractParentRelation +class CreatorRelation extends AbstractParentRelation implements CreatorRelationInterface { /** * @ORM\OneToOne(targetEntity="App\Entity\Source\AbstractSource",cascade={"persist", "remove"}) diff --git a/application/src/Entity/Meta/Relation/Parent/CreatorRelationInterface.php b/application/src/Entity/Meta/Relation/Parent/CreatorRelationInterface.php index fba4216..296420f 100644 --- a/application/src/Entity/Meta/Relation/Parent/CreatorRelationInterface.php +++ b/application/src/Entity/Meta/Relation/Parent/CreatorRelationInterface.php @@ -1,6 +1,8 @@