Magento does not pass the values of missed optional arguments of intercepted methods to plugins
|
|
0
|
93
|
August 5, 2023
|
Whether plugins are singletons?
|
|
0
|
1098
|
June 18, 2017
|
Performance issue: Magento 2 generates unnecessary wrappers for all the pluggable methods even there are no plugins for a particular method
|
|
0
|
1774
|
November 14, 2015
|
The Multishipping::beforeSetShippingMethods() method can be simplified by removing unused $methods argument
|
|
2
|
1512
|
August 28, 2017
|
The \Magento\Multishipping\Controller\Checkout\Plugin::beforeExecute() method can be simplified by removing unused $subject argument
|
|
1
|
2522
|
August 28, 2017
|
The Multishipping\Plugin::beforeSave() method can be simplified by removing unused $subject argument
|
|
1
|
2071
|
August 28, 2017
|
The \Magento\Catalog\Model\Indexer\Category\AffectCache::beforeExecute() method can be simplified by returning void instead of it's arguments
|
|
0
|
927
|
January 7, 2016
|
The \Magento\Sales\Controller\Order\Plugin\Authentication::beforeDispatch() method can be simplified by removing the unused $request argument
|
|
0
|
981
|
January 7, 2016
|
The \Magento\Tax\Model\Layout\DepersonalizePlugin::beforeGenerateXml() method can be simplified by returning void instead of an array
|
|
0
|
856
|
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
|
941
|
January 7, 2016
|
The \Magento\Theme\Model\Theme\Plugin\Registration::beforeDispatch() method can be simplified by removing the unused $subject and $request arguments
|
|
0
|
878
|
January 7, 2016
|
The MaxHeapTableSizeProcessorOnFullReindex::beforeExecute() method can be simplified by removing unused $subject argument
|
|
0
|
909
|
January 7, 2016
|
The Validation::beforeSavePaymentInformationAndPlaceOrder() method can be simplified by removing unused $billingAddress argument
|
|
0
|
1383
|
January 7, 2016
|
The Validation::beforeSavePaymentInformation() method can be simplified by removing unused $billingAddress argument
|
|
0
|
1397
|
January 7, 2016
|
The Review::beforeGetReviewsSummaryHtml() method can be simplified by removing the unused $templateType and $displayIfNoReviews arguments
|
|
0
|
1032
|
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
|
1040
|
January 7, 2016
|
The CreateHandler::beforeExecute() method can be simplified by returning void instead of it's arguments
|
|
0
|
1010
|
January 7, 2016
|
The \Magento\Customer\Model\Layout\DepersonalizePlugin beforeGenerateXml() method can be simplified by returning void instead of an array
|
|
0
|
898
|
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
|
822
|
January 7, 2016
|
The \Magento\Catalog\Model\Indexer\Product\AffectCache::beforeExecute() method can be simplified by returning void instead of it's arguments
|
|
0
|
1005
|
January 7, 2016
|
How is Magento\Vault\Plugin\PaymentVaultAttributesLoad::afterGetExtensionAttributes() implemented and used?
|
|
0
|
806
|
June 6, 2017
|
How does \Magento\ProductVideo\Model\Plugin\Catalog\Product\Gallery\ReadHandler::collectVideoEntriesIds() work?
|
|
0
|
798
|
April 30, 2016
|
How does \Magento\ProductVideo\Model\Plugin\Catalog\Product\Gallery\ReadHandler::afterExecute() work?
|
|
0
|
970
|
April 30, 2016
|
How does \Magento\ProductVideo\Model\Plugin\Catalog\Product\Gallery\AbstractHandler::getMediaEntriesDataCollection() work?
|
|
0
|
762
|
April 30, 2016
|
What are the «interceptions»?
|
|
1
|
1051
|
February 19, 2016
|
The official documentation should state that a «before» plugin could return nothing if it needs not modify any argument
|
|
0
|
805
|
January 7, 2016
|
The official documentation should state that a «before» plugin could avoid declaration of unused last arguments
|
|
0
|
700
|
January 7, 2016
|
A trick: a «before» plugin can return nothing if it needs not modify any argument
|
|
1
|
1588
|
January 7, 2016
|
A trick: a «before» plugin can avoid declaration of unused last arguments if it needs not modify any argument
|
|
1
|
1489
|
January 7, 2016
|
«Recoverable Error: Argument 2 passed to Interceptor::___callParent() must be of the type array, object given»
|
|
0
|
1310
|
September 2, 2015
|