1
0
Fork 0

Fix exception message template

pull/831/head
Alexey Prilipko 2012-06-26 17:17:58 +11:00
parent 3ff941ed30
commit 77715e254a
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ class ChannelReader extends BaseChannelReader
$supportedVersions = array_keys($this->readerMap);
$selectedRestVersion = $this->selectRestVersion($xml, $supportedVersions);
if (!$selectedRestVersion) {
throw new \UnexpectedValueException(sprintf('PEAR repository $s does not supports any of %s protocols.', $url, implode(', ', $supportedVersions)));
throw new \UnexpectedValueException(sprintf('PEAR repository %s does not supports any of %s protocols.', $url, implode(', ', $supportedVersions)));
}
$reader = $this->readerMap[$selectedRestVersion['version']];