-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect work with SoapClient::__doRequest() #3
Comments
Hello @KorDum, Missed that one indeed. Can you validate if #4 fixes the issue for you? It used to work like that in the old phpro/soap-client. The method returns Reported the issue to psalm as well. Since I removed the cast because they expect the type to be string. |
Great! Looks like true. It was possible without casting with the usual condition
Seems to be |
Alright. Tested it myself as well by setting the Merged and released: Thanks for reporting! Hope it works again like you'dd expect from now on :) |
Bug Report
Summary
Hello!
SoapClient::__doRequest()
does return nullable string, butAbusedClient::doActualRequest()
expectsstring
always.https://www.php.net/manual/en/soapclient.dorequest.php
How to reproduce
Sorry, I can't reproduce. You can replace to stub in test.
Expected behaviour
Without exception :)
The text was updated successfully, but these errors were encountered: