Skip to content

Commit 3deeaa1

Browse files
authored
phpstan issues for dataobject.php changes
1 parent 1def672 commit 3deeaa1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/internal/Magento/Framework/DataObject.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ public function toString($format = '')
387387
*/
388388
public function __call($method, $args)
389389
{
390-
switch($method[0].($method[1] ?? '').($method[2] ?? '')) {
390+
switch ($method[0].($method[1] ?? '').($method[2] ?? '')) {
391391
case 'get':
392392
if (isset($args[0]) && $args[0] !== null) {
393393
return $this->getData(
@@ -454,7 +454,7 @@ protected function _underscore($name)
454454
$result = strtolower(
455455
trim(
456456
preg_replace(
457-
'/([A-Z]|[0-9]+)/',
457+
'/([A-Z]|[0-9]+)/',
458458
"_$1",
459459
lcfirst(
460460
substr(

0 commit comments

Comments
 (0)