Closed
Description
Bug Report
Q | A |
---|---|
BC Break | no |
Version | 1.1.0 |
Summary
Hello! SoapClient::__doRequest()
does return nullable string, but AbusedClient::doActualRequest()
expects string
always.
https://www.php.net/manual/en/soapclient.dorequest.php
public SoapClient::__doRequest(
string $request,
string $location,
string $action,
int $version,
bool $oneWay = false
): ?string
Soap\ExtSoapEngine\AbusedClient::doActualRequest(): Return value must be of type string, null returned
#0 php-soap/ext-soap-engine/src/Transport/ExtSoapClientTransport.php(26): Soap\ExtSoapEngine\AbusedClient->doActualRequest()
#1 php-soap/engine/src/SimpleEngine.php(25): Soap\ExtSoapEngine\Transport\ExtSoapClientTransport->request()
#2 phpro/soap-client/src/Phpro/SoapClient/Caller/EngineCaller.php(27): Soap\Engine\SimpleEngine->request()
#3 phpro/soap-client/src/Phpro/SoapClient/Caller/EventDispatchingCaller.php(30): Phpro\SoapClient\Caller\EngineCaller->__invoke()
How to reproduce
Sorry, I can't reproduce. You can replace to stub in test.
Expected behaviour
Without exception :)
Metadata
Metadata
Assignees
Labels
No labels