Skip to content

Commit 313e060

Browse files
JaspurJasper Koers
andauthored
[bug] Remove Arr::wrap for arguments to solve bug (#238)
* Remove Arr::wrap for arguments to solve bug * Revert spaces for code styling Co-authored-by: Jasper Koers <jasper@coding.agency>
1 parent 1ef561a commit 313e060

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SoapClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ public function call(string $method, Validator|array $arguments = []): Response
354354
}
355355
$arguments = $arguments->validated();
356356
}
357-
$arguments = Arr::wrap($arguments);
357+
$arguments = [$arguments];
358358
$result = $this->engine->request($method, $arguments);
359359
if ($result instanceof ResultProviderInterface) {
360360
return $this->buildResponse(Response::fromSoapResponse($result->getResult()));

0 commit comments

Comments
 (0)