@@ -124,7 +124,7 @@ discard block |
||
| 124 | 124 | /** |
| 125 | 125 | * Run all of the commands in a list. Abort early if any fail. |
| 126 | 126 | * |
| 127 | - * @param array $commandList An array of CommandToExec |
|
| 127 | + * @param CommandToExec $commandList An array of CommandToExec |
|
| 128 | 128 | * @return integer |
| 129 | 129 | */ |
| 130 | 130 | public function runCommandList($commandList, $options) |
@@ -151,6 +151,7 @@ discard block |
||
| 151 | 151 | * @param array $composerArgs |
| 152 | 152 | * @param array $projects |
| 153 | 153 | * @param array $options |
| 154 | + * @param string $command |
|
| 154 | 155 | * @return CommandToExec |
| 155 | 156 | */ |
| 156 | 157 | public function getCommandsToExec($command, $composerArgs, $projects, $options) |
@@ -381,7 +382,6 @@ discard block |
||
| 381 | 382 | * the "global" Composer project, we also want to get the infomation of |
| 382 | 383 | * all the "isolated" projects installed via cgr in ~/.composer/global. |
| 383 | 384 | * |
| 384 | - * @param string $command The path to composer |
|
| 385 | 385 | * @param array $composerArgs Anything from the global $argv to be passed |
| 386 | 386 | * on to Composer |
| 387 | 387 | * @param array $projects A list of projects to update. |
@@ -405,7 +405,6 @@ discard block |
||
| 405 | 405 | * "global" Composer project, we also want to update all of the |
| 406 | 406 | * "isolated" projects installed via cgr in ~/.composer/global. |
| 407 | 407 | * |
| 408 | - * @param string $command The path to composer |
|
| 409 | 408 | * @param array $composerArgs Anything from the global $argv to be passed |
| 410 | 409 | * on to Composer |
| 411 | 410 | * @param array $projects A list of projects to update. |
@@ -455,11 +454,12 @@ discard block |
||
| 455 | 454 | /** |
| 456 | 455 | * Generate command string to call `composer COMMAND` to install one project. |
| 457 | 456 | * |
| 458 | - * @param string $command The path to composer |
|
| 459 | 457 | * @param array $composerArgs The arguments to pass to composer |
| 460 | 458 | * @param string $projectWithVersion The project:version to install |
| 461 | 459 | * @param array $env Environment to set prior to exec |
| 462 | 460 | * @param string $installLocation Location to install the project |
| 461 | + * @param string $composerCommand |
|
| 462 | + * @param string $execPath |
|
| 463 | 463 | * @return CommandToExec |
| 464 | 464 | */ |
| 465 | 465 | public function buildGlobalCommand($composerCommand, $execPath, $composerArgs, $projectWithVersion, $env, $installLocation) |