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
The following properties of the Phalcon\Annotations\Annotation are declared as NULL:
Phalcon\Annotations\Annotation
cphalcon/phalcon/Annotations/Annotation.zep
Lines 18 to 23 in 923c378
Lines 25 to 30 in 923c378
However, their getters returns arrays:
Lines 87 to 90 in 923c378
Lines 95 to 98 in 923c378
This leads to a fatal error:
PHP Fatal error: Return value of Phalcon\Annotations\Annotation::getArguments() must be of the type array, null returned in Unknown on line 0
Also note that exprArguments annotated as a string, but this is wromg. This property should holds arrays only.
exprArguments
string
Also Phalcon\Annotations\Annotation::getArgument my return void:
Phalcon\Annotations\Annotation::getArgument
Lines 75 to 82 in 1cd1da2
The text was updated successfully, but these errors were encountered:
Fixed default type of the Annotation properties
3fc1f0b
See: #14977
Fixed return type hints of the Annotation methods
572ae5a
Fixed in 4.0.x branch
Sorry, something went wrong.
8f22c89
16de11e
sergeyklay
Successfully merging a pull request may close this issue.
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: