@@ -175,7 +175,7 @@ |
||
175 | 175 | if ($this->development($version)) { |
176 | 176 | return false; |
177 | 177 | } |
178 | - preg_match('{'.$this->modifier.'$}i', strtolower($version), $match); |
|
178 | + preg_match('{' . $this->modifier . '$}i', strtolower($version), $match); |
|
179 | 179 | if (!empty($match[3])) { |
180 | 180 | return false; |
181 | 181 | } |
@@ -209,7 +209,7 @@ |
||
209 | 209 | |
210 | 210 | protected function getApiUrl() |
211 | 211 | { |
212 | - return sprintf(self::API_URL, $this->getPackageName()).'?'.rand(); |
|
212 | + return sprintf(self::API_URL, $this->getPackageName()) . '?' . rand(); |
|
213 | 213 | } |
214 | 214 | |
215 | 215 | protected function getDownloadUrl(array $package) |