Sfoglia il codice sorgente

merge isset() calls

Rob Bast 9 anni fa
parent
commit
94947ee772
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/Composer/Util/RemoteFilesystem.php

+ 1 - 1
src/Composer/Util/RemoteFilesystem.php

@@ -627,7 +627,7 @@ class RemoteFilesystem
          * Attempt to find a local cafile or throw an exception if none pre-set
          * The user may go download one if this occurs.
          */
-        if (!isset($options['ssl']['cafile']) && !isset($options['ssl']['capath'])) {
+        if (!isset($options['ssl']['cafile'], $options['ssl']['capath'])) {
             $result = $this->getSystemCaRootBundlePath();
             if ($result) {
                 if (preg_match('{^phar://}', $result)) {