Completed
Push — master ( 09d6a5...ab8255 )
by Andrii
02:27
created
src/PackageManager.php 1 patch
Doc Comments   +10 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,6 +97,9 @@  discard block
 block discarded – undo
97 97
         return $this->name;
98 98
     }
99 99
 
100
+    /**
101
+     * @param PackageInterface $package
102
+     */
100 103
     public function packageFullName($package)
101 104
     {
102 105
         return $package->getName() . ':' . $package->getVersion();
@@ -274,6 +277,9 @@  discard block
 block discarded – undo
274 277
         $this->writeJson($this->file, $this->config);
275 278
     }
276 279
 
280
+    /**
281
+     * @param string $path
282
+     */
277 283
     abstract public function writeRc($path, $data);
278 284
 
279 285
     /**
@@ -291,7 +297,7 @@  discard block
 block discarded – undo
291 297
 
292 298
     /**
293 299
      * Prepares arguments and runs the command with [[passthru()]].
294
-     * @param array $arguments
300
+     * @param string[] $arguments
295 301
      * @return integer the exit code
296 302
      */
297 303
     public function passthru(array $arguments = [])
@@ -357,6 +363,9 @@  discard block
 block discarded – undo
357 363
         return $this->name;
358 364
     }
359 365
 
366
+    /**
367
+     * @param string[] $parts
368
+     */
360 369
     public static function buildPath($parts)
361 370
     {
362 371
         return implode(DIRECTORY_SEPARATOR, array_filter($parts));
Please login to merge, or discard this patch.
src/Plugin.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -302,6 +302,9 @@
 block discarded – undo
302 302
         return $this->vendorDir;
303 303
     }
304 304
 
305
+    /**
306
+     * @param Composer $composer
307
+     */
305 308
     public function findVendorDir($composer)
306 309
     {
307 310
         return $composer->getConfig()->get('vendor-dir', '/');
Please login to merge, or discard this patch.