1
0
Fork 0

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

pull/199/head
Hugo Hamon 2012-01-11 11:34:45 +01:00
parent 7842149a51
commit 70d7ab43ee
1 changed files with 1 additions and 1 deletions

View File

@ -146,6 +146,6 @@ class GitHubDriver implements VcsDriverInterface
*/
public static function supports($url, $deep = false)
{
return extension_loaded('openssl') && preg_match('#^(?:https?|git)://github\.com/([^/]+)/(.+?)(?:\.git)?$#', $url, $match);
return extension_loaded('openssl') && preg_match('#^(?:https?|git)://github\.com/([^/]+)/(.+?)(?:\.git)?$#', $url);
}
}