@@ -108,22 +108,22 @@ class ContainerAttach extends \Docker\API\Runtime\Client\BaseEndpoint implements
108108 * @param string $id ID or name of the container
109109 * @param array $queryParameters {
110110 *
111- * @var string $detachKeys Override the key sequence for detaching a container.Format is a single
112- * character `[a-Z]` or `ctrl-<value>` where `<value>` is one of: `a-z`,
113- * `@`, `^`, `[`, `,` or `_`.
114- * @var bool $logs Replay previous logs from the container.
111+ * @var string $detachKeys Override the key sequence for detaching a container.Format is a single
112+ * character `[a-Z]` or `ctrl-<value>` where `<value>` is one of: `a-z`,
113+ * `@`, `^`, `[`, `,` or `_`.
114+ * @var bool $logs Replay previous logs from the container.
115115 *
116116 * This is useful for attaching to a container that has started and you
117117 * want to output everything since the container started.
118118 *
119119 * If `stream` is also enabled, once all the previous output has been
120120 * returned, it will seamlessly transition into streaming current
121121 * output.
122- * @var bool $stream stream attached streams from the time the request was made onwards
123- * @var bool $stdin Attach to `stdin`
124- * @var bool $stdout Attach to `stdout`
125- * @var bool $stderr Attach to `stderr`
126- * }
122+ * @var bool $stream stream attached streams from the time the request was made onwards
123+ * @var bool $stdin Attach to `stdin`
124+ * @var bool $stdout Attach to `stdout`
125+ * @var bool $stderr Attach to `stderr`
126+ * }
127127 *
128128 * @param array $accept Accept content header application/vnd.docker.raw-stream|application/json
129129 */
@@ -175,13 +175,11 @@ protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver
175175 }
176176
177177 /**
178- * {@inheritdoc}
179- *
180178 * @throws \Docker\API\Exception\ContainerAttachNotFoundException
181179 *
182180 * @return null
183181 */
184- protected function transformResponseBody (\Psr \Http \Message \ResponseInterface $ response , \Symfony \Component \Serializer \SerializerInterface $ serializer , ? string $ contentType = null )
182+ protected function transformResponseBody (\Psr \Http \Message \ResponseInterface $ response , \Symfony \Component \Serializer \SerializerInterface $ serializer , string $ contentType = null )
185183 {
186184 $ status = $ response ->getStatusCode ();
187185 $ body = (string ) $ response ->getBody ();
0 commit comments