@@ -239,7 +239,7 @@ |
||
239 | 239 | |
240 | 240 | /** |
241 | 241 | * Prepares arguments and runs the command with [[passthru()]]. |
242 | - * @param array $arguments |
|
242 | + * @param string[] $arguments |
|
243 | 243 | * @return integer the exit code |
244 | 244 | */ |
245 | 245 | public function passthru(array $arguments = []) |
@@ -154,7 +154,7 @@ |
||
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 | { |