Browse Source

Merge pull request #4834 from AppChecker/master

fix: missing parentheses
Jordi Boggiano 9 năm trước cách đây
mục cha
commit
1edb228d81
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/Composer/Config.php

+ 1 - 1
src/Composer/Config.php

@@ -191,7 +191,7 @@ class Config
                     return $val;
                 }
 
-                return ($flags & self::RELATIVE_PATHS == self::RELATIVE_PATHS) ? $val : $this->realpath($val);
+                return (($flags & self::RELATIVE_PATHS) == self::RELATIVE_PATHS) ? $val : $this->realpath($val);
 
             case 'cache-ttl':
                 return (int) $this->config[$key];