You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deprecated function: Return type of BeSimple\SoapClient\SoapClient::__getLastRequest() should either be compatible with SoapClient::__getLastRequest(): ?string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include() (line 571
I created a pull request to fix the depraction issues #34
The text was updated successfully, but these errors were encountered:
cslevy
changed the title
PHP 8.1 - Deprecated
PHP 8.1 - Deprecation issues
Nov 15, 2022
To fix the deprecation issue, you can either update the return type of the BeSimple\SoapClient\SoapClient::__getLastRequest() function to match the return type of SoapClient::__getLastRequest(), or you can use the #[\ReturnTypeWillChange] attribute to temporarily suppress the deprecation notice. This attribute can be used to indicate that the return type of the function will change in a future version, but that it is still safe to use in the current version.
I hope this helps. Let me know if you have any other questions.
I know what is the issue. I also fixed it. I created this ticket to link with a pull request, that fixes this issue. Feel free to use it. Hopefully the pull request will be merged into the project.
Deprecated function: Return type of BeSimple\SoapClient\SoapClient::__getLastRequest() should either be compatible with SoapClient::__getLastRequest(): ?string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include() (line 571
I created a pull request to fix the depraction issues #34
The text was updated successfully, but these errors were encountered: