We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug Getter with nullable property has invalid return type. It happens when minOccurs="1" maxOccurs="1"
To Reproduce
<s:complexType name="Test"> <s:sequence> <s:element minOccurs="1" maxOccurs="1" name="test" nillable="true" type="s:dateTime" /> </s:sequence> </s:complexType>
* Get test value * @return string */ public function getTest(): string { return $this->test; }
Expected behavior
* Get test value * @return string|null */ public function getTest(): ?string { return $this->test; }
The text was updated successfully, but these errors were encountered:
issue #312 - Fix getter return type
4ecd3b4
Please try generator branch https://github.com/WsdlToPhp/PackageGenerator/tree/feature/issue-312 to validate the bug fix
Sorry, something went wrong.
it looks good now
issue #312 - Fix getter return type (#313)
b37daa9
mikaelcom
Successfully merging a pull request may close this issue.
Describe the bug
Getter with nullable property has invalid return type. It happens when minOccurs="1" maxOccurs="1"
To Reproduce
Expected behavior
The text was updated successfully, but these errors were encountered: