Jordi Boggiano 8 lat temu
rodzic
commit
0c4cae056f
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/Composer/Downloader/PathDownloader.php

+ 1 - 1
src/Composer/Downloader/PathDownloader.php

@@ -60,7 +60,7 @@ class PathDownloader extends FileDownloader implements VcsCapableDownloaderInter
         $allowedStrategies = array(self::STRATEGY_SYMLINK, self::STRATEGY_MIRROR);
 
         $mirrorPathRepos = getenv('COMPOSER_MIRROR_PATH_REPOS');
-        if (true === (bool)$mirrorPathRepos) {
+        if ($mirrorPathRepos) {
             $currentStrategy = self::STRATEGY_MIRROR;
         }