The Multishipping::beforeSetShippingMethods() method can be simplified by removing unused $methods argument
|
|
2
|
1658
|
August 28, 2017
|
The \Magento\Multishipping\Controller\Checkout\Plugin::beforeExecute() method can be simplified by removing unused $subject argument
|
|
1
|
2754
|
August 28, 2017
|
The Multishipping\Plugin::beforeSave() method can be simplified by removing unused $subject argument
|
|
1
|
2343
|
August 28, 2017
|
The \Magento\Catalog\Model\Indexer\Category\AffectCache::beforeExecute() method can be simplified by returning void instead of it's arguments
|
|
0
|
1013
|
January 7, 2016
|
The \Magento\Sales\Controller\Order\Plugin\Authentication::beforeDispatch() method can be simplified by removing the unused $request argument
|
|
0
|
1070
|
January 7, 2016
|
The \Magento\Tax\Model\Layout\DepersonalizePlugin::beforeGenerateXml() method can be simplified by returning void instead of an array
|
|
0
|
935
|
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
|
1035
|
January 7, 2016
|
The \Magento\Theme\Model\Theme\Plugin\Registration::beforeDispatch() method can be simplified by removing the unused $subject and $request arguments
|
|
0
|
964
|
January 7, 2016
|
The MaxHeapTableSizeProcessorOnFullReindex::beforeExecute() method can be simplified by removing unused $subject argument
|
|
0
|
986
|
January 7, 2016
|
The Validation::beforeSavePaymentInformationAndPlaceOrder() method can be simplified by removing unused $billingAddress argument
|
|
0
|
1506
|
January 7, 2016
|
The Validation::beforeSavePaymentInformation() method can be simplified by removing unused $billingAddress argument
|
|
0
|
1497
|
January 7, 2016
|
The Review::beforeGetReviewsSummaryHtml() method can be simplified by removing the unused $templateType and $displayIfNoReviews arguments
|
|
0
|
1131
|
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
|
1138
|
January 7, 2016
|
The CreateHandler::beforeExecute() method can be simplified by returning void instead of it's arguments
|
|
0
|
1181
|
January 7, 2016
|
The \Magento\Customer\Model\Layout\DepersonalizePlugin beforeGenerateXml() method can be simplified by returning void instead of an array
|
|
0
|
1035
|
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
|
908
|
January 7, 2016
|
The \Magento\Catalog\Model\Indexer\Product\AffectCache::beforeExecute() method can be simplified by returning void instead of it's arguments
|
|
0
|
1173
|
January 7, 2016
|
The official documentation should state that a «before» plugin could return nothing if it needs not modify any argument
|
|
0
|
877
|
January 7, 2016
|
The official documentation should state that a «before» plugin could avoid declaration of unused last arguments
|
|
0
|
777
|
January 7, 2016
|
A trick: a «before» plugin can return nothing if it needs not modify any argument
|
|
1
|
1970
|
January 7, 2016
|
A trick: a «before» plugin can avoid declaration of unused last arguments if it needs not modify any argument
|
|
1
|
1657
|
January 7, 2016
|