@@ -2,10 +2,7 @@ |
||
| 2 | 2 | namespace Consolidation\SiteProcess; |
| 3 | 3 | |
| 4 | 4 | use Consolidation\SiteAlias\AliasRecord; |
| 5 | -use Consolidation\SiteProcess\Transport\DockerComposeTransport; |
|
| 6 | 5 | use Consolidation\SiteProcess\Util\ArgumentProcessor; |
| 7 | -use Consolidation\SiteProcess\Transport\LocalTransport; |
|
| 8 | -use Consolidation\SiteProcess\Transport\SshTransport; |
|
| 9 | 6 | use Consolidation\SiteProcess\Transport\TransportInterface; |
| 10 | 7 | use Consolidation\Config\Util\Interpolator; |
| 11 | 8 | use Consolidation\SiteProcess\Util\ShellOperatorInterface; |
@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | * @param string|null $cwd The working directory or null to use the working dir of the current PHP process |
| 45 | 45 | * @param array|null $env The environment variables or null to use the same environment as the current PHP process |
| 46 | 46 | * @param mixed|null $input The input as stream resource, scalar or \Traversable, or null for no input |
| 47 | - * @param int|float|null $timeout The timeout in seconds or null to disable |
|
| 47 | + * @param integer $timeout The timeout in seconds or null to disable |
|
| 48 | 48 | * @return Process |
| 49 | 49 | */ |
| 50 | 50 | public static function fromShellCommandline($command, $cwd = null, array $env = null, $input = null, $timeout = 60) |
@@ -66,6 +66,9 @@ discard block |
||
| 66 | 66 | return $this->output; |
| 67 | 67 | } |
| 68 | 68 | |
| 69 | + /** |
|
| 70 | + * @return OutputInterface |
|
| 71 | + */ |
|
| 69 | 72 | protected function realtimeStderr() |
| 70 | 73 | { |
| 71 | 74 | if ($this->stderr) { |
@@ -181,7 +184,7 @@ discard block |
||
| 181 | 184 | /** |
| 182 | 185 | * Return a realTime output object. |
| 183 | 186 | * |
| 184 | - * @return callable |
|
| 187 | + * @return RealtimeOutputHandler |
|
| 185 | 188 | */ |
| 186 | 189 | public function showRealtime() |
| 187 | 190 | { |