|
The Multishipping::beforeSetShippingMethods() method can be simplified by removing unused $methods argument
|
|
2
|
1672
|
August 28, 2017
|
|
The \Magento\Multishipping\Controller\Checkout\Plugin::beforeExecute() method can be simplified by removing unused $subject argument
|
|
1
|
2765
|
August 28, 2017
|
|
The Multishipping\Plugin::beforeSave() method can be simplified by removing unused $subject argument
|
|
1
|
2351
|
August 28, 2017
|
|
The \Magento\Catalog\Model\Indexer\Category\AffectCache::beforeExecute() method can be simplified by returning void instead of it's arguments
|
|
0
|
1020
|
January 7, 2016
|
|
The \Magento\Sales\Controller\Order\Plugin\Authentication::beforeDispatch() method can be simplified by removing the unused $request argument
|
|
0
|
1076
|
January 7, 2016
|
|
The \Magento\Tax\Model\Layout\DepersonalizePlugin::beforeGenerateXml() method can be simplified by returning void instead of an array
|
|
0
|
942
|
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
|
1042
|
January 7, 2016
|
|
The \Magento\Theme\Model\Theme\Plugin\Registration::beforeDispatch() method can be simplified by removing the unused $subject and $request arguments
|
|
0
|
975
|
January 7, 2016
|
|
The MaxHeapTableSizeProcessorOnFullReindex::beforeExecute() method can be simplified by removing unused $subject argument
|
|
0
|
990
|
January 7, 2016
|
|
The Validation::beforeSavePaymentInformationAndPlaceOrder() method can be simplified by removing unused $billingAddress argument
|
|
0
|
1517
|
January 7, 2016
|
|
The Validation::beforeSavePaymentInformation() method can be simplified by removing unused $billingAddress argument
|
|
0
|
1508
|
January 7, 2016
|
|
The Review::beforeGetReviewsSummaryHtml() method can be simplified by removing the unused $templateType and $displayIfNoReviews arguments
|
|
0
|
1136
|
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
|
1142
|
January 7, 2016
|
|
The CreateHandler::beforeExecute() method can be simplified by returning void instead of it's arguments
|
|
0
|
1191
|
January 7, 2016
|
|
The \Magento\Customer\Model\Layout\DepersonalizePlugin beforeGenerateXml() method can be simplified by returning void instead of an array
|
|
0
|
1043
|
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
|
935
|
January 7, 2016
|
|
The \Magento\Catalog\Model\Indexer\Product\AffectCache::beforeExecute() method can be simplified by returning void instead of it's arguments
|
|
0
|
1178
|
January 7, 2016
|
|
The official documentation should state that a «before» plugin could return nothing if it needs not modify any argument
|
|
0
|
880
|
January 7, 2016
|
|
The official documentation should state that a «before» plugin could avoid declaration of unused last arguments
|
|
0
|
781
|
January 7, 2016
|
|
A trick: a «before» plugin can return nothing if it needs not modify any argument
|
|
1
|
1993
|
January 7, 2016
|
|
A trick: a «before» plugin can avoid declaration of unused last arguments if it needs not modify any argument
|
|
1
|
1676
|
January 7, 2016
|