Closed datWeazel closed 1 year ago
Hi, I'm surprised because it seems to work as expected such as in https://gist.github.com/mikaelcom/6e9139088377338f8f8961c81b223355 for the NewsRequest struct.
It could have become trom the type nonNegativeInteger
but it's mapped as int
such as type unsignedInt
.
Do you have any custom XSD types defined? Can you provide the WSDL url/file?
Not sure if I'm allowed to share the WSDL publicly. Any way to send it to you directly?
Yes, at contact@mikael-delsol.fr.
Well received and bug well reproduced, fixed by PR #302
Describe the bug
This Attribute results in a constructor argument of the corresponding php class that looks like this:
?int $decimalPlaces = '0'
Obivously this results in an error since'0'
is a string.The php docs comment is wrong aswell:
* @param int $decimalPlaces
Should beint|null
.