Skip to content

Commit 1946b43

Browse files
committed
clean code
1 parent b2a65ae commit 1946b43

File tree

1 file changed

+2
-1
lines changed
  • lib/internal/Magento/Framework/DataObject/Copy

1 file changed

+2
-1
lines changed

lib/internal/Magento/Framework/DataObject/Copy/Config.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public function getFieldset($name, $root = 'global')
4444
if (empty($fieldsets)) {
4545
return null;
4646
}
47-
return isset($fieldsets[$name]) ? $fieldsets[$name] : null;
47+
48+
return $fieldsets[$name] ?? null;
4849
}
4950
}

0 commit comments

Comments
 (0)