Skip to content

Commit 07c5573

Browse files
author
Oleksandr Iegorov
committed
MC-21948: Products index data delete process fires before indexation instead of right before insert indexed data to index tables during partial reindex
1 parent 976d56f commit 07c5573

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Catalog/Model/Category.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1359,15 +1359,16 @@ public function getChildrenData()
13591359

13601360
//@codeCoverageIgnoreEnd
13611361

1362+
//phpcs:disable Magento2.FunctionNameRestrictions.MethodDoubleUnderscore
13621363
/**
13631364
* Return Data Object data in array format.
13641365
*
13651366
* @return array
13661367
* @todo refactor with converter for AbstractExtensibleModel
1367-
* phpcs:ignore Magento2.FunctionNameRestrictions.MethodDoubleUnderscore
13681368
*/
13691369
public function __toArray()
13701370
{
1371+
//phpcs:enable Magento2.FunctionNameRestrictions.MethodDoubleUnderscore
13711372
$data = $this->_data;
13721373
$hasToArray = function ($model) {
13731374
return is_object($model) && method_exists($model, '__toArray') && is_callable([$model, '__toArray']);

0 commit comments

Comments
 (0)