Completed
Pull Request — master (#428)
by Stefan
03:08
created
Bootstrap/Update.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -503,7 +503,7 @@
 block discarded – undo
503 503
         }
504 504
     }
505 505
   
506
-  /**
506
+    /**
507 507
      * Create index by articleID in s_plugin_connect_product_to_categories table.
508 508
      */
509 509
     private function addProductToCategoryIndex()
Please login to merge, or discard this patch.
Components/ProductToShop.php 1 patch
Doc Comments   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -447,8 +447,8 @@  discard block
 block discarded – undo
447 447
 
448 448
     /**
449 449
      * @param Product $product
450
-     * @param $active
451
-     * @param $isMainVariant
450
+     * @param boolean $active
451
+     * @param boolean $isMainVariant
452 452
      * @return null|Article
453 453
      */
454 454
     private function getSWProductModel(Product $product, $active, &$isMainVariant)
@@ -548,8 +548,8 @@  discard block
 block discarded – undo
548 548
      *
549 549
      * @param $model
550 550
      * @param $detail
551
-     * @param $attribute
552
-     * @param $product
551
+     * @param ConnectAttribute $attribute
552
+     * @param Product $product
553 553
      * @return array
554 554
      */
555 555
     public function getUpdateFields($model, $detail, $attribute, $product)
@@ -589,7 +589,7 @@  discard block
 block discarded – undo
589 589
      * This method will check for the model->id in order to determine, if it is a new entity. Therefore
590 590
      * this method cannot be used after the model in question was already flushed.
591 591
      *
592
-     * @param $field
592
+     * @param string $field
593 593
      * @param $model ProductModel
594 594
      * @param $attribute ConnectAttribute
595 595
      * @throws \RuntimeException
@@ -635,7 +635,7 @@  discard block
 block discarded – undo
635 635
     /**
636 636
      * Determine if a given field has changed
637 637
      *
638
-     * @param $field
638
+     * @param string $field
639 639
      * @param ProductModel $model
640 640
      * @param DetailModel $detail
641 641
      * @param Product $product
@@ -989,7 +989,7 @@  discard block
 block discarded – undo
989 989
 
990 990
     /**
991 991
      * @param ProductModel $model
992
-     * @param array $categories
992
+     * @param \Shopware\Models\Category\Category[] $categories
993 993
      */
994 994
     private function categoryDenormalization(ProductModel $model, array $categories)
995 995
     {
@@ -1047,7 +1047,7 @@  discard block
 block discarded – undo
1047 1047
 
1048 1048
     /**
1049 1049
      * @param ProductStream $stream
1050
-     * @param ProductModel $article
1050
+     * @param null|ProductModel $article
1051 1051
      * @throws \Doctrine\DBAL\DBALException
1052 1052
      */
1053 1053
     private function addProductToStream(ProductStream $stream, ProductModel $article)
@@ -1111,7 +1111,7 @@  discard block
 block discarded – undo
1111 1111
     /**
1112 1112
      * @param ProductModel $article
1113 1113
      * @param DetailModel $detail
1114
-     * @param array $priceRanges
1114
+     * @param PriceRange[] $priceRanges
1115 1115
      * @param Group $group
1116 1116
      * @throws \Doctrine\DBAL\ConnectionException
1117 1117
      * @throws \Exception
@@ -1578,8 +1578,8 @@  discard block
 block discarded – undo
1578 1578
     }
1579 1579
 
1580 1580
     /**
1581
-     * @param $articleId
1582
-     * @param $product
1581
+     * @param integer $articleId
1582
+     * @param Product $product
1583 1583
      */
1584 1584
     private function deleteRemovedRelations($articleId, $product)
1585 1585
     {
Please login to merge, or discard this patch.