From 6614e26393ee461926479c4d356d6c4965c421fb Mon Sep 17 00:00:00 2001 From: Ruben van der Linde Date: Wed, 8 Jan 2020 15:07:07 +0100 Subject: [PATCH] Spellingsfouten --- api/src/DataFixtures/AppFixtures.php | 2 +- api/src/Entity/Catalogue.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/api/src/DataFixtures/AppFixtures.php b/api/src/DataFixtures/AppFixtures.php index 8b3beaeb..7dd792ef 100644 --- a/api/src/DataFixtures/AppFixtures.php +++ b/api/src/DataFixtures/AppFixtures.php @@ -499,7 +499,7 @@ public function load(ObjectManager $manager) $product = new Product(); $product->setName('Trouwboekje'); $product->setSourceOrganization('002220647'); - $product->setDescription('Een mooi in leer gebonden herindering aan uw huwelijk'); + $product->setDescription('Een mooi in leer gebonden herinnering aan uw huwelijk'); $product->setType('simple'); $product->setCatalogue($utrecht); $product->setPrice('30.20'); diff --git a/api/src/Entity/Catalogue.php b/api/src/Entity/Catalogue.php index 6c9205cb..c7fe36f4 100644 --- a/api/src/Entity/Catalogue.php +++ b/api/src/Entity/Catalogue.php @@ -113,7 +113,6 @@ class Catalogue * @var ArrayCollection The groups that are a part of this catalogue * * @MaxDepth(1) - * @Groups({"read"}) * @ORM\OneToMany(targetEntity="App\Entity\Product", mappedBy="catalogue", orphanRemoval=true) */ private $products;