1
0
Fork 0

Fixed typo

pull/7487/head
Markus Staab 2018-07-24 18:20:04 +02:00 committed by GitHub
parent 158e1c95da
commit 76bf6bdf97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ class ComposerRepository extends ArrayRepository implements ConfigurableReposito
$this->url = $repoConfig['url']; $this->url = $repoConfig['url'];
// force url for packagist.org to repo.packagist.org // force url for packagist.org to repo.packagist.org
if (preg_match('{^(?P<proto>https?)://packagist.org/?$}i', $this->url, $match)) { if (preg_match('{^(?P<proto>https?)://packagist\.org/?$}i', $this->url, $match)) {
$this->url = $match['proto'].'://repo.packagist.org'; $this->url = $match['proto'].'://repo.packagist.org';
} }