-
-
Notifications
You must be signed in to change notification settings - Fork 466
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
Array of object as return type is reported to php as type, not array #1779
Labels
Comments
@chet0xhenry I found a bug. Working on possible solution |
This was referenced Dec 15, 2018
Fixed in the |
Fixed in the development branch. Feel free to open a new issue if the problem appears again. And thank you for contributing. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Returning an array of type in zephir is reported as just the type to php. Because of this is it impossible to correctly implement override methods in php. Below is the minimal example. You can also note the use of this in the cphalcon project in, https://github.com/phalcon/cphalcon/blob/master/phalcon/mvc/model.zep::1653.
Zephir-Lang
Php Class:
Centos7 with Zephir@0.11.8 and Zephir-Parser@v1.1.4
The text was updated successfully, but these errors were encountered: