Skip to content

Commit 17a7c00

Browse files
committed
Fix Static tests failures
1 parent c838ed1 commit 17a7c00

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/internal/Magento/Framework/DataObject.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -396,9 +396,9 @@ public function __call($method, $args)
396396
$args[0]
397397
);
398398
}
399-
399+
400400
return $this->getData(
401-
self::$_underscoreCache[$method] ?? $this->_underscore($method),
401+
self::$_underscoreCache[$method] ?? $this->_underscore($method),
402402
$args[0] ?? null
403403
);
404404
case 'set':
@@ -417,7 +417,7 @@ public function __call($method, $args)
417417
]
418418
);
419419
}
420-
420+
421421
throw new \Magento\Framework\Exception\LocalizedException(
422422
new \Magento\Framework\Phrase('Invalid method %1::%2', [get_class($this), $method])
423423
);
@@ -450,7 +450,7 @@ protected function _underscore($name)
450450
if (isset(self::$_underscoreCache[$name])) {
451451
return self::$_underscoreCache[$name];
452452
}
453-
453+
454454
$result = strtolower(
455455
trim(
456456
preg_replace(
@@ -466,7 +466,7 @@ protected function _underscore($name)
466466
'_'
467467
)
468468
);
469-
469+
470470
self::$_underscoreCache[$name] = $result;
471471
return $result;
472472
}

0 commit comments

Comments
 (0)