Completed
Push — master ( c24707...8f0731 )
by Christian
02:39
created
src/Composer/Search/RepositorySearch.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -239,7 +239,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
             },
Please login to merge, or discard this patch.