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)
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 }
You can’t perform that action at this time.
0 commit comments