-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[BUG]: Incorrect default value of Phalcon\Annotations\Annotation properties #14977
Labels
Comments
sergeyklay
added a commit
that referenced
this issue
May 2, 2020
sergeyklay
added a commit
that referenced
this issue
May 2, 2020
5 tasks
5 tasks
Fixed in 4.0.x branch |
niden
pushed a commit
that referenced
this issue
May 16, 2020
niden
pushed a commit
that referenced
this issue
May 16, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following properties of the
Phalcon\Annotations\Annotation
are declared as NULL:cphalcon/phalcon/Annotations/Annotation.zep
Lines 18 to 23 in 923c378
cphalcon/phalcon/Annotations/Annotation.zep
Lines 25 to 30 in 923c378
However, their getters returns arrays:
cphalcon/phalcon/Annotations/Annotation.zep
Lines 87 to 90 in 923c378
cphalcon/phalcon/Annotations/Annotation.zep
Lines 95 to 98 in 923c378
This leads to a fatal error:
Also note that
exprArguments
annotated as astring
, but this is wromg. This property should holds arrays only.Also
Phalcon\Annotations\Annotation::getArgument
my return void:cphalcon/phalcon/Annotations/Annotation.zep
Lines 75 to 82 in 1cd1da2
The text was updated successfully, but these errors were encountered: