Completed
Branch master (9d649c)
by Tim
03:55
created
src/Services/ProductMediaProcessor.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
     /**
171 171
      * Return's the action with the product media gallery valueCRUD methods.
172 172
      *
173
-     * @return \TechDivision\Import\Product\Media\Actions\ProductMediaGalleryAction The action with the product media gallery value CRUD methods
173
+     * @return \TechDivision\Import\Product\Media\Actions\ProductMediaGalleryValueAction The action with the product media gallery value CRUD methods
174 174
      */
175 175
     public function getProductMediaGalleryValueAction()
176 176
     {
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
     /**
193 193
      * Return's the action with the product media gallery value to entity CRUD methods.
194 194
      *
195
-     * @return \TechDivision\Import\Product\Media\Actions\ProductMediaGalleryAction $productMediaGalleryAction The action with the product media gallery value to entity CRUD methods
195
+     * @return \TechDivision\Import\Product\Media\Actions\ProductMediaGalleryValueToEntityAction $productMediaGalleryAction The action with the product media gallery value to entity CRUD methods
196 196
      */
197 197
     public function getProductMediaGalleryValueToEntityAction()
198 198
     {
Please login to merge, or discard this patch.
src/Subjects/MediaSubject.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -289,7 +289,7 @@
 block discarded – undo
289 289
     /**
290 290
      * Return's the name of the created image.
291 291
      *
292
-     * @return string The name of the created image
292
+     * @return integer The name of the created image
293 293
      */
294 294
     public function getParentImage()
295 295
     {
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
      */
262 262
     public function setParentValueId($parentValueId)
263 263
     {
264
-        $this->parentValueId  = $parentValueId;
264
+        $this->parentValueId = $parentValueId;
265 265
     }
266 266
 
267 267
     /**
@@ -406,11 +406,11 @@  discard block
 block discarded – undo
406 406
         if ($this->getFilesystem()->has($targetFilename)) {
407 407
             // initialize the incex and the basename
408 408
             $index = 1;
409
-            $baseName = $fileInfo['filename'] . '.' . $fileInfo['extension'];
409
+            $baseName = $fileInfo['filename'].'.'.$fileInfo['extension'];
410 410
 
411 411
             // prepare the new filename by raising the index
412
-            while ($this->getFilesystem()->has($fileInfo['dirname'] . '/' . $baseName)) {
413
-                $baseName = $fileInfo['filename'] . '_' . $index . '.' . $fileInfo['extension'];
412
+            while ($this->getFilesystem()->has($fileInfo['dirname'].'/'.$baseName)) {
413
+                $baseName = $fileInfo['filename'].'_'.$index.'.'.$fileInfo['extension'];
414 414
                 $index++;
415 415
             }
416 416
 
Please login to merge, or discard this patch.