File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
lib/internal/Magento/Framework Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -396,9 +396,9 @@ public function __call($method, $args)
396
396
$ args [0 ]
397
397
);
398
398
}
399
-
399
+
400
400
return $ this ->getData (
401
- self ::$ _underscoreCache [$ method ] ?? $ this ->_underscore ($ method ),
401
+ self ::$ _underscoreCache [$ method ] ?? $ this ->_underscore ($ method ),
402
402
$ args [0 ] ?? null
403
403
);
404
404
case 'set ' :
@@ -417,7 +417,7 @@ public function __call($method, $args)
417
417
]
418
418
);
419
419
}
420
-
420
+
421
421
throw new \Magento \Framework \Exception \LocalizedException (
422
422
new \Magento \Framework \Phrase ('Invalid method %1::%2 ' , [get_class ($ this ), $ method ])
423
423
);
@@ -450,7 +450,7 @@ protected function _underscore($name)
450
450
if (isset (self ::$ _underscoreCache [$ name ])) {
451
451
return self ::$ _underscoreCache [$ name ];
452
452
}
453
-
453
+
454
454
$ result = strtolower (
455
455
trim (
456
456
preg_replace (
@@ -466,7 +466,7 @@ protected function _underscore($name)
466
466
'_ '
467
467
)
468
468
);
469
-
469
+
470
470
self ::$ _underscoreCache [$ name ] = $ result ;
471
471
return $ result ;
472
472
}
You can’t perform that action at this time.
0 commit comments