The Multishipping::beforeSetShippingMethods() method can be simplified by removing unused $methods argument
|
|
2
|
1556
|
August 28, 2017
|
The \Magento\Multishipping\Controller\Checkout\Plugin::beforeExecute() method can be simplified by removing unused $subject argument
|
|
1
|
2579
|
August 28, 2017
|
The Multishipping\Plugin::beforeSave() method can be simplified by removing unused $subject argument
|
|
1
|
2111
|
August 28, 2017
|
The \Magento\Catalog\Model\Indexer\Category\AffectCache::beforeExecute() method can be simplified by returning void instead of it's arguments
|
|
0
|
952
|
January 7, 2016
|
The \Magento\Sales\Controller\Order\Plugin\Authentication::beforeDispatch() method can be simplified by removing the unused $request argument
|
|
0
|
1015
|
January 7, 2016
|
The \Magento\Tax\Model\Layout\DepersonalizePlugin::beforeGenerateXml() method can be simplified by returning void instead of an array
|
|
0
|
883
|
January 7, 2016
|
The \Magento\Tax\Model\Quote\ToOrderConverter::beforeConvert() method can be simplified by returning void instead of an array and removing the unused $additional argument
|
|
0
|
974
|
January 7, 2016
|
The \Magento\Theme\Model\Theme\Plugin\Registration::beforeDispatch() method can be simplified by removing the unused $subject and $request arguments
|
|
0
|
903
|
January 7, 2016
|
The MaxHeapTableSizeProcessorOnFullReindex::beforeExecute() method can be simplified by removing unused $subject argument
|
|
0
|
933
|
January 7, 2016
|
The Validation::beforeSavePaymentInformationAndPlaceOrder() method can be simplified by removing unused $billingAddress argument
|
|
0
|
1421
|
January 7, 2016
|
The Validation::beforeSavePaymentInformation() method can be simplified by removing unused $billingAddress argument
|
|
0
|
1427
|
January 7, 2016
|
The Review::beforeGetReviewsSummaryHtml() method can be simplified by removing the unused $templateType and $displayIfNoReviews arguments
|
|
0
|
1066
|
January 7, 2016
|
The \Magento\Swatches\Controller\Adminhtml\Product\Attribute\Plugin\Save beforeDispatch() method can be simplified by returning void instead of it's arguments
|
|
0
|
1071
|
January 7, 2016
|
The CreateHandler::beforeExecute() method can be simplified by returning void instead of it's arguments
|
|
0
|
1054
|
January 7, 2016
|
The \Magento\Customer\Model\Layout\DepersonalizePlugin beforeGenerateXml() method can be simplified by returning void instead of an array
|
|
0
|
929
|
January 7, 2016
|
The \Magento\Catalog\Model\Indexer\Category\AffectCache and \Magento\Catalog\Model\Indexer\Product\AffectCache have 39 lines of code each but differs by a single constant (copy/paste)
|
|
0
|
847
|
January 7, 2016
|
The \Magento\Catalog\Model\Indexer\Product\AffectCache::beforeExecute() method can be simplified by returning void instead of it's arguments
|
|
0
|
1029
|
January 7, 2016
|
The official documentation should state that a «before» plugin could return nothing if it needs not modify any argument
|
|
0
|
825
|
January 7, 2016
|
The official documentation should state that a «before» plugin could avoid declaration of unused last arguments
|
|
0
|
722
|
January 7, 2016
|
A trick: a «before» plugin can return nothing if it needs not modify any argument
|
|
1
|
1684
|
January 7, 2016
|
A trick: a «before» plugin can avoid declaration of unused last arguments if it needs not modify any argument
|
|
1
|
1537
|
January 7, 2016
|