Completed
Push — taxon-slug-generator-revisited ( fa32c0 )
by Kamil
21:53
created
src/Sylius/Bundle/CoreBundle/Fixture/Factory/TaxonExampleFactory.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
 namespace Sylius\Bundle\CoreBundle\Fixture\Factory;
13 13
 
14
-use Doctrine\Common\Persistence\ObjectManager;
15 14
 use Sylius\Component\Core\Formatter\StringInflector;
16 15
 use Sylius\Component\Core\Model\TaxonInterface;
17 16
 use Sylius\Component\Locale\Model\LocaleInterface;
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
     }
95 95
 
96 96
     /**
97
-     * @return array
97
+     * @return \Generator
98 98
      */
99 99
     private function getLocales()
100 100
     {
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Setup/TaxonomyContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
136 136
 
137 137
         /** @var ImageInterface $taxonImage */
138 138
         $taxonImage = $this->taxonImageFactory->createNew();
139
-        $taxonImage->setFile(new UploadedFile($filesPath.$imagePath, basename($imagePath)));
139
+        $taxonImage->setFile(new UploadedFile($filesPath . $imagePath, basename($imagePath)));
140 140
         $taxonImage->setType($imageType);
141 141
         $this->imageUploader->upload($taxonImage);
142 142
 
Please login to merge, or discard this patch.