Skip to content

Commit b7bc82f

Browse files
committed
Null coalescing operator
1 parent 76bef55 commit b7bc82f

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

class/LanguageHandler.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -401,10 +401,6 @@ public function loadFileConfig()
401401
return $config;
402402
}
403403
require $file_config;
404-
if (isset(${\XLANGUAGE_CONFIG_VAR})) {
405-
return ${\XLANGUAGE_CONFIG_VAR};
406-
}
407-
408-
return false;
404+
return ${\XLANGUAGE_CONFIG_VAR} ?? false;
409405
}
410406
}

0 commit comments

Comments
 (0)