Completed
Push — master ( 013e21...203ebe )
by
unknown
03:38
created
src/Model/Vendor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -228,7 +228,7 @@
 block discarded – undo
228 228
     {
229 229
         $this->logoFile = $file;
230 230
 
231
-        if(null !== $file)
231
+        if (null !== $file)
232 232
         {
233 233
             $this->setUpdatedAt(new \DateTime());
234 234
         }
Please login to merge, or discard this patch.
src/Fixture/VendorFixture.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -93,10 +93,10 @@  discard block
 block discarded – undo
93 93
         $channels = $this->channelRepository->findAll();
94 94
 
95 95
         /** @var ChannelInterface $channel */
96
-        foreach($channels as $channel)
96
+        foreach ($channels as $channel)
97 97
         {
98 98
             $imageIndex = 1;
99
-            for($i=1; $i <= $options['vendors_per_channel']; $i++)
99
+            for ($i = 1; $i <= $options[ 'vendors_per_channel' ]; $i++)
100 100
             {
101 101
                 /** @var VendorInterface $vendor */
102 102
                 $vendor = $this->vendorFactory->createNew();
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
                 }
114 114
 
115 115
                 $imageFinder = new Finder();
116
-                $imagesPath = __DIR__ . '/../Resources/fixtures/vendor';
116
+                $imagesPath = __DIR__.'/../Resources/fixtures/vendor';
117 117
 
118 118
                 /** @var File $img */
119 119
                 foreach ($imageFinder->files()->in($imagesPath)->name('0'.$imageIndex.'.png') as $img)
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
                         $vendor->setLogoFile($file);
124 124
                     }
125 125
                 }
126
-                $imageIndex = $imageIndex>=4?1:$imageIndex+1;
126
+                $imageIndex = $imageIndex >= 4 ? 1 : $imageIndex + 1;
127 127
 
128 128
                 $this->objectManager->persist($vendor);
129 129
             }
Please login to merge, or discard this patch.