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
Hi,
Nice piece of code. I think there is a problem when reading the @method annotation.
utils/src/Utils/ObjectHelpers.php
Line 78 in a828903
the format of the annotation can be of 2 type (static method or not) as documented here : https://doc.nette.org/en/contributing/coding-standard#toc-documentation-blocks-phpdoc
But the parsing is not correct if there is a "static" word instead of the return type.
Here is an example using the nette regex : https://sandbox.onlinephpfunctions.com/code/d381c1f6eefc80b3dd84292a514ff935eddf3e13
As you can see the array is only filed with the first method. If you remove the "static" word the array will be filled with the 2 methods name.
I hope i am clear enough.
Keep up the good work.
The text was updated successfully, but these errors were encountered:
32091bb
Thanks, fixed
Sorry, something went wrong.
No branches or pull requests
Hi,
Nice piece of code. I think there is a problem when reading the @method annotation.
utils/src/Utils/ObjectHelpers.php
Line 78 in a828903
the format of the annotation can be of 2 type (static method or not) as documented here : https://doc.nette.org/en/contributing/coding-standard#toc-documentation-blocks-phpdoc
But the parsing is not correct if there is a "static" word instead of the return type.
Here is an example using the nette regex : https://sandbox.onlinephpfunctions.com/code/d381c1f6eefc80b3dd84292a514ff935eddf3e13
As you can see the array is only filed with the first method. If you remove the "static" word the array will be filled with the 2 methods name.
I hope i am clear enough.
Keep up the good work.
The text was updated successfully, but these errors were encountered: