@@ -57,8 +57,7 @@ public function containerList(array $queryParameters = [], string $fetch = self:
5757 }
5858
5959 /**
60- * @param \Docker\API\Model\ContainersCreatePostBody|null $requestBody
61- * @param array $queryParameters {
60+ * @param array $queryParameters {
6261 *
6362 * @var string $name Assign the specified name to the container. Must match
6463 * `/?[a-zA-Z0-9][a-zA-Z0-9_.-]+`.
@@ -356,9 +355,8 @@ public function containerKill(string $id, array $queryParameters = [], string $f
356355 * Change various configuration options of a container without having to
357356 * recreate it.
358357 *
359- * @param string $id ID or name of the container
360- * @param \Docker\API\Model\ContainersIdUpdatePostBody|null $requestBody
361- * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
358+ * @param string $id ID or name of the container
359+ * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
362360 *
363361 * @throws \Docker\API\Exception\ContainerUpdateNotFoundException
364362 * @throws \Docker\API\Exception\ContainerUpdateInternalServerErrorException
@@ -1083,8 +1081,7 @@ public function imagePrune(array $queryParameters = [], string $fetch = self::FE
10831081 * Validate credentials for a registry and, if available, get an identity
10841082 * token for accessing the registry without password.
10851083 *
1086- * @param \Docker\API\Model\AuthConfig|null $requestBody
1087- * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
1084+ * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
10881085 *
10891086 * @throws \Docker\API\Exception\SystemAuthInternalServerErrorException
10901087 *
@@ -1140,8 +1137,7 @@ public function systemPingHead(string $fetch = self::FETCH_OBJECT)
11401137 }
11411138
11421139 /**
1143- * @param \Docker\API\Model\ContainerConfig|null $requestBody
1144- * @param array $queryParameters {
1140+ * @param array $queryParameters {
11451141 *
11461142 * @var string $container The ID or name of the container to commit
11471143 * @var string $repo Repository name for the created image
@@ -1323,9 +1319,8 @@ public function imageLoad($requestBody = null, array $queryParameters = [], stri
13231319 /**
13241320 * Run a command inside a running container.
13251321 *
1326- * @param string $id ID or name of container
1327- * @param \Docker\API\Model\ContainersIdExecPostBody|null $requestBody
1328- * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
1322+ * @param string $id ID or name of container
1323+ * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
13291324 *
13301325 * @throws \Docker\API\Exception\ContainerExecNotFoundException
13311326 * @throws \Docker\API\Exception\ContainerExecConflictException
@@ -1343,9 +1338,8 @@ public function containerExec(string $id, Model\ContainersIdExecPostBody $reques
13431338 * returns immediately after starting the command. Otherwise, it sets up an
13441339 * interactive session with the command.
13451340 *
1346- * @param string $id Exec instance ID
1347- * @param \Docker\API\Model\ExecIdStartPostBody|null $requestBody
1348- * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
1341+ * @param string $id Exec instance ID
1342+ * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
13491343 *
13501344 * @return \Psr\Http\Message\ResponseInterface|null
13511345 */
@@ -1422,8 +1416,7 @@ public function volumeList(array $queryParameters = [], string $fetch = self::FE
14221416 }
14231417
14241418 /**
1425- * @param \Docker\API\Model\VolumesCreatePostBody|null $requestBody
1426- * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
1419+ * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
14271420 *
14281421 * @throws \Docker\API\Exception\VolumeCreateInternalServerErrorException
14291422 *
@@ -1568,8 +1561,7 @@ public function networkInspect(string $id, array $queryParameters = [], string $
15681561 }
15691562
15701563 /**
1571- * @param \Docker\API\Model\NetworksCreatePostBody|null $requestBody
1572- * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
1564+ * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
15731565 *
15741566 * @throws \Docker\API\Exception\NetworkCreateForbiddenException
15751567 * @throws \Docker\API\Exception\NetworkCreateNotFoundException
@@ -1583,10 +1575,9 @@ public function networkCreate(Model\NetworksCreatePostBody $requestBody = null,
15831575 }
15841576
15851577 /**
1586- * @param string $id Network ID or name
1587- * @param \Docker\API\Model\NetworksIdConnectPostBody|null $requestBody
1588- * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
1589- * @param array $accept Accept content header application/json|text/plain
1578+ * @param string $id Network ID or name
1579+ * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
1580+ * @param array $accept Accept content header application/json|text/plain
15901581 *
15911582 * @throws \Docker\API\Exception\NetworkConnectForbiddenException
15921583 * @throws \Docker\API\Exception\NetworkConnectNotFoundException
@@ -1600,10 +1591,9 @@ public function networkConnect(string $id, Model\NetworksIdConnectPostBody $requ
16001591 }
16011592
16021593 /**
1603- * @param string $id Network ID or name
1604- * @param \Docker\API\Model\NetworksIdDisconnectPostBody|null $requestBody
1605- * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
1606- * @param array $accept Accept content header application/json|text/plain
1594+ * @param string $id Network ID or name
1595+ * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
1596+ * @param array $accept Accept content header application/json|text/plain
16071597 *
16081598 * @throws \Docker\API\Exception\NetworkDisconnectForbiddenException
16091599 * @throws \Docker\API\Exception\NetworkDisconnectNotFoundException
@@ -1954,9 +1944,8 @@ public function nodeInspect(string $id, string $fetch = self::FETCH_OBJECT, arra
19541944 }
19551945
19561946 /**
1957- * @param string $id The ID of the node
1958- * @param \Docker\API\Model\NodeSpec|null $requestBody
1959- * @param array $queryParameters {
1947+ * @param string $id The ID of the node
1948+ * @param array $queryParameters {
19601949 *
19611950 * @var int $version The version number of the node object being updated. This is required
19621951 * to avoid conflicting writes.
@@ -1994,9 +1983,8 @@ public function swarmInspect(string $fetch = self::FETCH_OBJECT, array $accept =
19941983 }
19951984
19961985 /**
1997- * @param \Docker\API\Model\SwarmInitPostBody|null $requestBody
1998- * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
1999- * @param array $accept Accept content header application/json|text/plain
1986+ * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
1987+ * @param array $accept Accept content header application/json|text/plain
20001988 *
20011989 * @throws \Docker\API\Exception\SwarmInitBadRequestException
20021990 * @throws \Docker\API\Exception\SwarmInitInternalServerErrorException
@@ -2010,9 +1998,8 @@ public function swarmInit(Model\SwarmInitPostBody $requestBody = null, string $f
20101998 }
20111999
20122000 /**
2013- * @param \Docker\API\Model\SwarmJoinPostBody|null $requestBody
2014- * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
2015- * @param array $accept Accept content header application/json|text/plain
2001+ * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
2002+ * @param array $accept Accept content header application/json|text/plain
20162003 *
20172004 * @throws \Docker\API\Exception\SwarmJoinBadRequestException
20182005 * @throws \Docker\API\Exception\SwarmJoinInternalServerErrorException
@@ -2047,8 +2034,7 @@ public function swarmLeave(array $queryParameters = [], string $fetch = self::FE
20472034 }
20482035
20492036 /**
2050- * @param \Docker\API\Model\SwarmSpec|null $requestBody
2051- * @param array $queryParameters {
2037+ * @param array $queryParameters {
20522038 *
20532039 * @var int $version The version number of the swarm object being updated. This is
20542040 * required to avoid conflicting writes.
@@ -2086,8 +2072,7 @@ public function swarmUnlockkey(string $fetch = self::FETCH_OBJECT, array $accept
20862072 }
20872073
20882074 /**
2089- * @param \Docker\API\Model\SwarmUnlockPostBody|null $requestBody
2090- * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
2075+ * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
20912076 *
20922077 * @throws \Docker\API\Exception\SwarmUnlockInternalServerErrorException
20932078 * @throws \Docker\API\Exception\SwarmUnlockServiceUnavailableException
@@ -2129,8 +2114,7 @@ public function serviceList(array $queryParameters = [], string $fetch = self::F
21292114 }
21302115
21312116 /**
2132- * @param \Docker\API\Model\ServicesCreatePostBody|null $requestBody
2133- * @param array $headerParameters {
2117+ * @param array $headerParameters {
21342118 *
21352119 * @var string $X-Registry-Auth A base64url-encoded auth configuration for pulling from private
21362120 * registries.
@@ -2193,9 +2177,8 @@ public function serviceInspect(string $id, array $queryParameters = [], string $
21932177 }
21942178
21952179 /**
2196- * @param string $id ID or name of service
2197- * @param \Docker\API\Model\ServicesIdUpdatePostBody|null $requestBody
2198- * @param array $queryParameters {
2180+ * @param string $id ID or name of service
2181+ * @param array $queryParameters {
21992182 *
22002183 * @var int $version The version number of the service object being updated. This is
22012184 * required to avoid conflicting writes.
@@ -2376,8 +2359,7 @@ public function secretList(array $queryParameters = [], string $fetch = self::FE
23762359 }
23772360
23782361 /**
2379- * @param \Docker\API\Model\SecretsCreatePostBody|null $requestBody
2380- * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
2362+ * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
23812363 *
23822364 * @throws \Docker\API\Exception\SecretCreateConflictException
23832365 * @throws \Docker\API\Exception\SecretCreateInternalServerErrorException
@@ -2421,9 +2403,8 @@ public function secretInspect(string $id, string $fetch = self::FETCH_OBJECT)
24212403 }
24222404
24232405 /**
2424- * @param string $id The ID or name of the secret
2425- * @param \Docker\API\Model\SecretSpec|null $requestBody
2426- * @param array $queryParameters {
2406+ * @param string $id The ID or name of the secret
2407+ * @param array $queryParameters {
24272408 *
24282409 * @var int $version The version number of the secret object being updated. This is
24292410 * required to avoid conflicting writes.
@@ -2473,8 +2454,7 @@ public function configList(array $queryParameters = [], string $fetch = self::FE
24732454 }
24742455
24752456 /**
2476- * @param \Docker\API\Model\ConfigsCreatePostBody|null $requestBody
2477- * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
2457+ * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE)
24782458 *
24792459 * @throws \Docker\API\Exception\ConfigCreateConflictException
24802460 * @throws \Docker\API\Exception\ConfigCreateInternalServerErrorException
@@ -2518,9 +2498,8 @@ public function configInspect(string $id, string $fetch = self::FETCH_OBJECT)
25182498 }
25192499
25202500 /**
2521- * @param string $id The ID or name of the config
2522- * @param \Docker\API\Model\ConfigSpec|null $requestBody
2523- * @param array $queryParameters {
2501+ * @param string $id The ID or name of the config
2502+ * @param array $queryParameters {
25242503 *
25252504 * @var int $version The version number of the config object being updated. This is
25262505 * required to avoid conflicting writes.
@@ -2573,7 +2552,7 @@ public static function create($httpClient = null, array $additionalPlugins = [],
25732552 if (null === $ httpClient ) {
25742553 $ httpClient = \Http \Discovery \Psr18ClientDiscovery::find ();
25752554 $ plugins = [];
2576- $ uri = \Http \Discovery \Psr17FactoryDiscovery::findUrlFactory ()->createUri ('/v1.41 ' );
2555+ $ uri = \Http \Discovery \Psr17FactoryDiscovery::findUriFactory ()->createUri ('/v1.41 ' );
25772556 $ plugins [] = new \Http \Client \Common \Plugin \AddPathPlugin ($ uri );
25782557 if (\count ($ additionalPlugins ) > 0 ) {
25792558 $ plugins = array_merge ($ plugins , $ additionalPlugins );
0 commit comments