From 025f7fa61aa992aa94cf5b4a2b9c8f7e42c37c5b Mon Sep 17 00:00:00 2001 From: sentisso Date: Thu, 29 Sep 2022 18:51:00 +0200 Subject: [PATCH] fixing type error in SoapClient.pgp `($one_way) must be of type int, bool given` --- src/SoapClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SoapClient.php b/src/SoapClient.php index 688e68b..5d8f284 100644 --- a/src/SoapClient.php +++ b/src/SoapClient.php @@ -97,7 +97,7 @@ public function __doRequest($request, $location, $action, $version, $one_way = 0 return $this->lastResponse; } - public function doRequestByCurl(string $request, string $location, string $action, int $version, int $one_way = 0): ?string + public function doRequestByCurl(string $request, string $location, string $action, int $version, int|bool $one_way = 0): ?string { $this->lastResponseHttpCode = null;