@@ -56,7 +56,7 @@ |
||
| 56 | 56 | $group = $this->getGroupFactory()->createNew(); |
| 57 | 57 | $group->setName($name); |
| 58 | 58 | |
| 59 | - $this->setReference('Sylius.Group.'.$name, $group); |
|
| 59 | + $this->setReference('Sylius.Group.' . $name, $group); |
|
| 60 | 60 | |
| 61 | 61 | return $group; |
| 62 | 62 | } |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | |
| 47 | 47 | $manager->persist($locale); |
| 48 | 48 | |
| 49 | - $this->setReference('Sylius.Locale.'.$code, $locale); |
|
| 49 | + $this->setReference('Sylius.Locale.' . $code, $locale); |
|
| 50 | 50 | } |
| 51 | 51 | |
| 52 | 52 | $manager->flush(); |
@@ -76,7 +76,7 @@ |
||
| 76 | 76 | $zone->setName($name); |
| 77 | 77 | $zone->setType($type); |
| 78 | 78 | |
| 79 | - $this->setReference('Sylius.Zone.'.$code, $zone); |
|
| 79 | + $this->setReference('Sylius.Zone.' . $code, $zone); |
|
| 80 | 80 | |
| 81 | 81 | return $zone; |
| 82 | 82 | } |
@@ -50,7 +50,7 @@ |
||
| 50 | 50 | $currency->setBase(true); |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | - $this->setReference('Sylius.Currency.'.$code, $currency); |
|
| 53 | + $this->setReference('Sylius.Currency.' . $code, $currency); |
|
| 54 | 54 | |
| 55 | 55 | $manager->persist($currency); |
| 56 | 56 | } |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | $category->setDescription($description); |
| 78 | 78 | $category->setCode($code); |
| 79 | 79 | |
| 80 | - $this->setReference('Sylius.ShippingCategory.'.$code, $category); |
|
| 80 | + $this->setReference('Sylius.ShippingCategory.' . $code, $category); |
|
| 81 | 81 | |
| 82 | 82 | return $category; |
| 83 | 83 | } |
@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | $method->setCategory($category); |
| 114 | 114 | $method->setEnabled($enabled); |
| 115 | 115 | |
| 116 | - $this->setReference('Sylius.ShippingMethod.'.$code, $method); |
|
| 116 | + $this->setReference('Sylius.ShippingMethod.' . $code, $method); |
|
| 117 | 117 | |
| 118 | 118 | return $method; |
| 119 | 119 | } |
@@ -128,7 +128,7 @@ |
||
| 128 | 128 | $option->addValue($optionValue); |
| 129 | 129 | } |
| 130 | 130 | |
| 131 | - $this->setReference('Sylius.Option.'.$optionCode, $option); |
|
| 131 | + $this->setReference('Sylius.Option.' . $optionCode, $option); |
|
| 132 | 132 | |
| 133 | 133 | return $option; |
| 134 | 134 | } |
@@ -63,7 +63,7 @@ |
||
| 63 | 63 | $method->setEnabled($enabled); |
| 64 | 64 | $method->setCode($code); |
| 65 | 65 | |
| 66 | - $this->setReference('Sylius.PaymentMethod.'.$code, $method); |
|
| 66 | + $this->setReference('Sylius.PaymentMethod.' . $code, $method); |
|
| 67 | 67 | |
| 68 | 68 | return $method; |
| 69 | 69 | } |
@@ -151,7 +151,7 @@ discard block |
||
| 151 | 151 | $promotion->setCode($code); |
| 152 | 152 | $promotion->setPriority($priority); |
| 153 | 153 | |
| 154 | - $promotion->addChannel($this->getReference('Sylius.Channel.'.$channel)); |
|
| 154 | + $promotion->addChannel($this->getReference('Sylius.Channel.' . $channel)); |
|
| 155 | 155 | |
| 156 | 156 | foreach ($rules as $rule) { |
| 157 | 157 | $promotion->addRule($rule); |
@@ -160,7 +160,7 @@ discard block |
||
| 160 | 160 | $promotion->addAction($action); |
| 161 | 161 | } |
| 162 | 162 | |
| 163 | - $this->setReference('Sylius.Promotion.'.$code, $promotion); |
|
| 163 | + $this->setReference('Sylius.Promotion.' . $code, $promotion); |
|
| 164 | 164 | |
| 165 | 165 | return $promotion; |
| 166 | 166 | } |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | |
| 39 | 39 | $manager->persist($contactTopic); |
| 40 | 40 | |
| 41 | - $this->setReference('Sylius.ContactTopic.'.$i, $contactTopic); |
|
| 41 | + $this->setReference('Sylius.ContactTopic.' . $i, $contactTopic); |
|
| 42 | 42 | } |
| 43 | 43 | |
| 44 | 44 | $manager->flush(); |