Magento does not pass the values of missed optional arguments of intercepted methods to plugins
|
|
0
|
252
|
August 5, 2023
|
Whether plugins are singletons?
|
|
0
|
1237
|
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
|
1885
|
November 14, 2015
|
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
|
2749
|
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
|
1069
|
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
|
1505
|
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
|
1179
|
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
|
1172
|
January 7, 2016
|
How is Magento\Vault\Plugin\PaymentVaultAttributesLoad::afterGetExtensionAttributes() implemented and used?
|
|
0
|
930
|
June 6, 2017
|
How does \Magento\ProductVideo\Model\Plugin\Catalog\Product\Gallery\ReadHandler::collectVideoEntriesIds() work?
|
|
0
|
874
|
April 30, 2016
|
How does \Magento\ProductVideo\Model\Plugin\Catalog\Product\Gallery\ReadHandler::afterExecute() work?
|
|
0
|
1055
|
April 30, 2016
|
How does \Magento\ProductVideo\Model\Plugin\Catalog\Product\Gallery\AbstractHandler::getMediaEntriesDataCollection() work?
|
|
0
|
847
|
April 30, 2016
|
What are the «interceptions»?
|
|
1
|
1138
|
February 19, 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
|
1963
|
January 7, 2016
|
A trick: a «before» plugin can avoid declaration of unused last arguments if it needs not modify any argument
|
|
1
|
1655
|
January 7, 2016
|
«Recoverable Error: Argument 2 passed to Interceptor::___callParent() must be of the type array, object given»
|
|
0
|
1400
|
September 2, 2015
|