diff --git a/src/Composer/Config.php b/src/Composer/Config.php index e8fdf2561..2b6d14da7 100644 --- a/src/Composer/Config.php +++ b/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];