Skip to content

Commit 1564e66

Browse files
authored
fix(laravel-soap-109): Fix AbusedClient::__doRequest Argument #5 ($oneWay) type error with php version 8 (#117)
1 parent 52190f6 commit 1564e66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Driver/ExtSoap/AbusedClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function __doRequest($request, $location, $action, $version, $oneWay = 0)
2020
{
2121
$xml = SoapXml::fromString($request);
2222
$action = $action ?? $xml->getBody()->firstChild->localName;
23-
$this->storedRequest = new SoapRequest($request, $location, $action, $version, $oneWay);
23+
$this->storedRequest = new SoapRequest($request, $location, $action, $version, (int) $oneWay);
2424

2525
return $this->storedResponse ? $this->storedResponse->getResponse() : '';
2626
}

0 commit comments

Comments
 (0)