From 6027b66e67827d1aa539e5b61b121c4400c14317 Mon Sep 17 00:00:00 2001 From: isavchuk <isavchuk@magento.com> Date: Tue, 3 Jan 2017 16:06:47 +0200 Subject: [PATCH] MAGETWO-62662: [GITHUB] Wrong object passed to collectRates method in collectRatesByAddress method #7309 - Added SuppressWarnings to constructor --- app/code/Magento/Shipping/Model/Shipping.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/code/Magento/Shipping/Model/Shipping.php b/app/code/Magento/Shipping/Model/Shipping.php index 79e47727d51..fa77520914f 100644 --- a/app/code/Magento/Shipping/Model/Shipping.php +++ b/app/code/Magento/Shipping/Model/Shipping.php @@ -99,6 +99,8 @@ class Shipping implements RateCollectorInterface * @param \Magento\Framework\Math\Division $mathDivision * @param \Magento\CatalogInventory\Api\StockRegistryInterface $stockRegistry * @param RateRequestFactory $rateRequestFactory + * + * @SuppressWarnings(PHPMD.ExcessiveParameterList) */ public function __construct( \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig, -- GitLab