From c9938aaa117d24b69b585ad1c1fb7dbb877e1a57 Mon Sep 17 00:00:00 2001 From: Yuri Kovsher <ikovsher@ebay.com> Date: Thu, 16 Apr 2015 16:04:34 +0300 Subject: [PATCH] MAGETWO-36096: S50 PR preparation --- app/code/Magento/Developer/Model/View/Layout/Plugin.php | 1 + app/code/Magento/Reports/Model/Resource/Quote/Collection.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/code/Magento/Developer/Model/View/Layout/Plugin.php b/app/code/Magento/Developer/Model/View/Layout/Plugin.php index 3ebf3b3bbe0..4f4f059813d 100644 --- a/app/code/Magento/Developer/Model/View/Layout/Plugin.php +++ b/app/code/Magento/Developer/Model/View/Layout/Plugin.php @@ -42,6 +42,7 @@ class Plugin * @param string $name * @return string * @throws \Exception + * @SuppressWarnings(PHPMD.UnusedFormalParameter) */ public function aroundRenderNonCachedElement(\Magento\Framework\View\Layout $subject, \Closure $proceed, $name) { diff --git a/app/code/Magento/Reports/Model/Resource/Quote/Collection.php b/app/code/Magento/Reports/Model/Resource/Quote/Collection.php index cb2a9333fe0..ea190558cac 100644 --- a/app/code/Magento/Reports/Model/Resource/Quote/Collection.php +++ b/app/code/Magento/Reports/Model/Resource/Quote/Collection.php @@ -323,7 +323,7 @@ class Collection extends \Magento\Quote\Model\Resource\Quote\Collection * * @param array $productIds * @return array - * @throws \Magento\Eav\Exception + * @throws \Magento\Framework\Exception\LocalizedException */ protected function getProductData(array $productIds) { -- GitLab