Skip to content
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

Fix 44459: Cast code's type in the Initialization of SoapFault #9192

Open
wants to merge 1 commit into
base: release_9
Choose a base branch
from

Conversation

jeph864
Copy link
Contributor

@jeph864 jeph864 commented Mar 12, 2025

@mjansenDatabay mjansenDatabay added bugfix php Pull requests that update Php code labels Mar 13, 2025
@@ -196,7 +196,7 @@ protected function raiseError(string $a_message, $a_code)
case self::NUSOAP:
return new soap_fault($a_code, '', $a_message);
case self::PHP5:
return new SoapFault($a_code, $a_message);
return new SoapFault((string)$a_code, $a_message);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
return new SoapFault((string)$a_code, $a_message);
return new SoapFault((string) $a_code, $a_message);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix php Pull requests that update Php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants