1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-11 01:22:54 +00:00

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

This commit is contained in:
Hugo Hamon 2012-01-11 11:33:21 +01:00
parent 66f214e446
commit 7842149a51

View file

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