diff --git a/src/Glob.php b/src/Glob.php index 8bb542b65..b01d38d80 100644 --- a/src/Glob.php +++ b/src/Glob.php @@ -43,9 +43,9 @@ public static function glob($pattern, $flags, $forceFallback = false) { if (!defined('GLOB_BRACE') || $forceFallback) { return static::fallbackGlob($pattern, $flags); - } else { - return static::systemGlob($pattern, $flags); } + + return static::systemGlob($pattern, $flags); } /**