@@ -30,6 +30,11 @@ |
||
| 30 | 30 | /** @var boolean Whether stream is encrypted with TLS */ |
| 31 | 31 | private $useTls; |
| 32 | 32 | |
| 33 | + /** |
|
| 34 | + * @param string $entrypoint |
|
| 35 | + * @param resource $context |
|
| 36 | + * @param boolean $useTls |
|
| 37 | + */ |
|
| 33 | 38 | public function __construct(MessageFactoryInterface $messageFactory, $entrypoint, $context = null, $useTls = null) |
| 34 | 39 | { |
| 35 | 40 | if ($context === null) { |
@@ -185,7 +185,7 @@ |
||
| 185 | 185 | * |
| 186 | 186 | * @throws \Docker\Exception\UnexpectedStatusCodeException |
| 187 | 187 | * |
| 188 | - * @return Guzzle\Stream\Stream Tarfile stream |
|
| 188 | + * @return \GuzzleHttp\Stream\StreamInterface|null Tarfile stream |
|
| 189 | 189 | */ |
| 190 | 190 | public function copy(Container $container, $source) |
| 191 | 191 | { |