Skip to content

Commit 970c12d

Browse files
committed
AC-1989: Fix subset of deprecated php usages
- Fixes for php code
1 parent 7d56bdd commit 970c12d

File tree

1 file changed

+1
-1
lines changed
  • lib/internal/Magento/Framework/App/Utility

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/App/Utility/Files.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1662,7 +1662,7 @@ public function isModuleExists($moduleName)
16621662
$key = __METHOD__ . "/{$moduleName}";
16631663
if (!isset(self::$_cache[$key])) {
16641664
self::$_cache[$key] = file_exists(
1665-
$this->componentRegistrar->getPath(ComponentRegistrar::MODULE, $moduleName)
1665+
$this->componentRegistrar->getPath(ComponentRegistrar::MODULE, $moduleName) ?? ''
16661666
);
16671667
}
16681668

0 commit comments

Comments
 (0)