@@ -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 AliasRecordInterface $siteAlias |
137 | - * @return TransportInterface |
|
137 | + * @return Transport\TransportInterface |
|
138 | 138 | */ |
139 | 139 | public function getTransport(AliasRecordInterface $siteAlias) |
140 | 140 | { |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Consolidation\SiteProcess; |
4 | 4 | |
5 | -use Psr\Log\LoggerInterface; |
|
6 | 5 | use Consolidation\SiteAlias\AliasRecordInterface; |
7 | 6 | use Consolidation\SiteProcess\Factory\SshTransportFactory; |
8 | 7 | use Consolidation\SiteProcess\Factory\DockerComposeTransportFactory; |