Completed
Push — master ( 106ea4...09d6a5 )
by Andrii
02:53
created
src/Plugin.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@
 block discarded – undo
154 154
     /**
155 155
      * Returns package with given name if exists.
156 156
      * @param string $name package name
157
-     * @return \Composer\Package\PackageInterface|null
157
+     * @return \Composer\Package\RootPackageInterface|PackageInterface|null
158 158
      */
159 159
     public function findPackage($name)
160 160
     {
Please login to merge, or discard this patch.
src/Constraint.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -33,6 +33,9 @@
 block discarded – undo
33 33
         return static::$parser;
34 34
     }
35 35
 
36
+    /**
37
+     * @param string $constraint
38
+     */
36 39
     static public function parse($constraint)
37 40
     {
38 41
         return static::getParser()->parseConstraints($constraint);
Please login to merge, or discard this patch.
src/PackageManager.php 1 patch
Doc Comments   +7 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 = [])
Please login to merge, or discard this patch.