Jelajahi Sumber

Merge remote-tracking branch 'origin/master'

Jordi Boggiano 11 tahun lalu
induk
melakukan
ff404f8bd0
1 mengubah file dengan 5 tambahan dan 0 penghapusan
  1. 5 0
      src/Composer/Repository/Vcs/VcsDriver.php

+ 5 - 0
src/Composer/Repository/Vcs/VcsDriver.php

@@ -101,6 +101,11 @@ abstract class VcsDriver implements VcsDriverInterface
         return $this->remoteFilesystem->getContents($this->originUrl, $url, false);
     }
 
+    /**
+     * Return if current repository url is local
+     * 
+     * @return boolean Repository url is local
+     */
     protected static function isLocalUrl($url)
     {
         return (bool) preg_match('{^(file://|/|[a-z]:[\\\\/])}i', $url);