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
However, the getResult() method in the ResultProviderInterface has a return type declaration (added via #80), which means the generated method is an incompatible signature, causing a fatal error.
...may be to be a working fix, though not ideal since the FQN is added, which is redundant since the use statement at the top of the file is already present. Result is:
That is a known issue in zend-code that isn't going to be fixed. I suggest to use the FQCN and run a tool like php-cs-fixer on it after the code is generated.
The ResultProviderAssembler generates classes with a
getResult()
method.Here's a part of my WSDL:
Here's the relevant rule in my config file:
Here's one of my generated classes:
However, the
getResult()
method in theResultProviderInterface
has a return type declaration (added via #80), which means the generated method is an incompatible signature, causing a fatal error.The method generation code doesn't appear to have anything suggesting that a return type declaration should be included.
Zend-code does have the support of adding a
returntype
when generating the method from an array.The text was updated successfully, but these errors were encountered: