Skip to content

Commit 4263415

Browse files
committed
MAGETWO-31578: Implement tool for adding annotations to existing code
- annotations added
1 parent 9a85905 commit 4263415

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

app/code/Magento/Catalog/Block/Rss/Product/Special.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ class Special extends \Magento\Framework\View\Element\AbstractBlock implements D
7777
* @param \Magento\Framework\Stdlib\DateTime\DateFactory $dateFactory
7878
* @param \Magento\Framework\Locale\ResolverInterface $localeResolver
7979
* @param array $data
80+
* @SuppressWarnings(PHPMD.ExcessiveParameterList)
8081
*/
8182
public function __construct(
8283
\Magento\Framework\View\Element\Template\Context $context,

app/code/Magento/Customer/Model/Resource/Group/Grid/ServiceCollection.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ public function __construct(
5959
* @param bool $printQuery
6060
* @param bool $logQuery
6161
* @return $this
62+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
6263
*/
6364
public function loadData($printQuery = false, $logQuery = false)
6465
{

app/code/Magento/CustomerImportExport/Model/Import/Address.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,7 @@ protected function _saveAddressAttributes(array $attributesData)
585585
*
586586
* @param array $defaults
587587
* @return $this
588+
* @SuppressWarnings(PHPMD.UnusedLocalVariable)
588589
*/
589590
protected function _saveCustomerDefaults(array $defaults)
590591
{

app/code/Magento/OfflineShipping/Model/Quote/Freeshipping.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ public function collect(Address $address)
9494
*
9595
* @param \Magento\Quote\Model\Quote\Address $address
9696
* @return \Magento\OfflineShipping\Model\Quote\Freeshipping
97+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
9798
*/
9899
public function fetch(Address $address)
99100
{

app/code/Magento/Weee/Model/Total/Quote/Weee.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@ protected function _resetItemData($item)
316316
*
317317
* @param \Magento\Quote\Model\Quote\Address $address
318318
* @return $this
319+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
319320
*/
320321
public function fetch(\Magento\Quote\Model\Quote\Address $address)
321322
{

0 commit comments

Comments
 (0)