Explorar el Código

[Repository] removed unused local $match variable from HgBitbucketDriver::supports() method.

Hugo Hamon hace 13 años
padre
commit
09f0ba6604
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/Composer/Repository/Vcs/HgBitbucketDriver.php

+ 1 - 1
src/Composer/Repository/Vcs/HgBitbucketDriver.php

@@ -158,6 +158,6 @@ class HgBitbucketDriver implements VcsDriverInterface
      */
     public static function supports($url, $deep = false)
     {
-        return preg_match('#^https://bitbucket\.org/([^/]+)/([^/]+)/?$#', $url, $match);
+        return preg_match('#^https://bitbucket\.org/([^/]+)/([^/]+)/?$#', $url);
     }
 }