@@ -239,7 +239,7 @@ |
||
| 239 | 239 | /** |
| 240 | 240 | * Retrieve the composite repository. |
| 241 | 241 | * |
| 242 | - * @return RepositoryInterface|null |
|
| 242 | + * @return RepositoryInterface |
|
| 243 | 243 | */ |
| 244 | 244 | public function getRepository() |
| 245 | 245 | { |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | $repoConfig = $this->repository->getRepoConfig(); |
| 74 | 74 | if (!preg_match('{^[\w.]+\??://}', $repoConfig['url'])) { |
| 75 | 75 | // assume https as the default protocol |
| 76 | - $repoConfig['url'] = 'https://'.$repoConfig['url']; |
|
| 76 | + $repoConfig['url'] = 'https://' . $repoConfig['url']; |
|
| 77 | 77 | } |
| 78 | 78 | $this->decorateBaseUrl = rtrim($repoConfig['url'], '/') . '/packages/%1$s.json'; |
| 79 | 79 | } |
@@ -166,7 +166,7 @@ discard block |
||
| 166 | 166 | } |
| 167 | 167 | |
| 168 | 168 | return array_map( |
| 169 | - function ($package) { |
|
| 169 | + function($package) { |
|
| 170 | 170 | /** @var PackageInterface $package */ |
| 171 | 171 | return $package->getName(); |
| 172 | 172 | }, |