@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | * @param string|null $cwd The working directory or null to use the working dir of the current PHP process |
| 87 | 87 | * @param array|null $env The environment variables or null to use the same environment as the current PHP process |
| 88 | 88 | * @param mixed|null $input The input as stream resource, scalar or \Traversable, or null for no input |
| 89 | - * @param int|float|null $timeout The timeout in seconds or null to disable |
|
| 89 | + * @param integer $timeout The timeout in seconds or null to disable |
|
| 90 | 90 | * @return Process |
| 91 | 91 | */ |
| 92 | 92 | public function process($command, $cwd = null, array $env = null, $input = null, $timeout = 60) |
@@ -100,7 +100,7 @@ discard block |
||
| 100 | 100 | * @param string|null $cwd The working directory or null to use the working dir of the current PHP process |
| 101 | 101 | * @param array|null $env The environment variables or null to use the same environment as the current PHP process |
| 102 | 102 | * @param mixed|null $input The input as stream resource, scalar or \Traversable, or null for no input |
| 103 | - * @param int|float|null $timeout The timeout in seconds or null to disable |
|
| 103 | + * @param integer $timeout The timeout in seconds or null to disable |
|
| 104 | 104 | * @return Process |
| 105 | 105 | */ |
| 106 | 106 | public function shell($command, $cwd = null, array $env = null, $input = null, $timeout = 60) |
@@ -134,7 +134,7 @@ discard block |
||
| 134 | 134 | * getTransport returns a transport that is applicable to the provided site alias. |
| 135 | 135 | * |
| 136 | 136 | * @param SiteAliasInterface $siteAlias |
| 137 | - * @return TransportInterface |
|
| 137 | + * @return Transport\TransportInterface |
|
| 138 | 138 | */ |
| 139 | 139 | public function getTransport(SiteAliasInterface $siteAlias) |
| 140 | 140 | { |
@@ -198,7 +198,6 @@ |
||
| 198 | 198 | * It is possible to use dot notation in the keys to access nested elements |
| 199 | 199 | * within the site alias record. |
| 200 | 200 | * |
| 201 | - * @param SiteAliasInterface $siteAlias |
|
| 202 | 201 | * @param type $args |
| 203 | 202 | * @return type |
| 204 | 203 | */ |
@@ -18,10 +18,10 @@ |
||
| 18 | 18 | * to be executed and orders them as needed. |
| 19 | 19 | * |
| 20 | 20 | * @param SiteAliasInterface $siteAlias Description of |
| 21 | - * @param array $args Command and arguments to execute (source) |
|
| 22 | - * @param array $options key / value pair of option and value in include |
|
| 21 | + * @param string[] $args Command and arguments to execute (source) |
|
| 22 | + * @param string[] $options key / value pair of option and value in include |
|
| 23 | 23 | * in final arguments |
| 24 | - * @param array $optionsPassedAsArgs key / value pair of option and value |
|
| 24 | + * @param string[] $optionsPassedAsArgs key / value pair of option and value |
|
| 25 | 25 | * to include in final arguments after the '--' argument. |
| 26 | 26 | * @return array Command and arguments to execute |
| 27 | 27 | */ |