Skip to content

Commit 42b9e32

Browse files
committed
Add PHPCompatibility ignore to __toArray method in Product model
1 parent 73ba904 commit 42b9e32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2404,7 +2404,7 @@ public function reloadPriceInfo()
24042404
* @return array
24052405
* @todo refactor with converter for AbstractExtensibleModel
24062406
*/
2407-
public function __toArray()
2407+
public function __toArray() //phpcs:ignore PHPCompatibility.FunctionNameRestrictions.ReservedFunctionNames
24082408
{
24092409
$data = $this->_data;
24102410
$hasToArray = function ($model) {

0 commit comments

Comments
 (0)