diff --git a/src/Model/Deployment/EnvironmentDeployment.php b/src/Model/Deployment/EnvironmentDeployment.php index 991c65e..b3d95b1 100644 --- a/src/Model/Deployment/EnvironmentDeployment.php +++ b/src/Model/Deployment/EnvironmentDeployment.php @@ -100,7 +100,7 @@ public function getRuntimeOperations(): array * The operation name. * @param string $service * The name of the service or application to run the operation on. - * @param array $parameters + * @param string[] $parameters * Parameters to pass to the operation, as key-value pairs. * *@see RuntimeOperation @@ -114,7 +114,7 @@ public function execRuntimeOperation(string $name, string $service, array $param 'service' => $service, ]; if ($parameters) { - $body['parameters'] = (object) $parameters; + $body['parameters'] = $parameters; } return $this->runOperation('operations', 'post', $body);