Skip to content

Commit 86032de

Browse files
author
David
committed
Use strict comparision instead of is_null
1 parent 16a8050 commit 86032de

File tree

1 file changed

+1
-1
lines changed
  • lib/internal/Magento/Framework/View/Model/Layout

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/View/Model/Layout/Merge.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,7 @@ private function getXmlErrors($libXmlErrors)
799799
protected function _getPhysicalTheme(\Magento\Framework\View\Design\ThemeInterface $theme)
800800
{
801801
$result = $theme;
802-
while (!is_null($result) && $result->getId() && !$result->isPhysical()) {
802+
while ($result !== null && $result->getId() && !$result->isPhysical()) {
803803
$result = $result->getParentTheme();
804804
}
805805
if (!$result) {

0 commit comments

Comments
 (0)