We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1def672 commit 3deeaa1Copy full SHA for 3deeaa1
lib/internal/Magento/Framework/DataObject.php
@@ -387,7 +387,7 @@ public function toString($format = '')
387
*/
388
public function __call($method, $args)
389
{
390
- switch($method[0].($method[1] ?? '').($method[2] ?? '')) {
+ switch ($method[0].($method[1] ?? '').($method[2] ?? '')) {
391
case 'get':
392
if (isset($args[0]) && $args[0] !== null) {
393
return $this->getData(
@@ -454,7 +454,7 @@ protected function _underscore($name)
454
$result = strtolower(
455
trim(
456
preg_replace(
457
- '/([A-Z]|[0-9]+)/',
+ '/([A-Z]|[0-9]+)/',
458
"_$1",
459
lcfirst(
460
substr(
0 commit comments