This is in Drupal\views\Plugin\views\HandlerBase
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | interdiff-2795793-2-3.txt | 797 bytes | markdorison |
| #3 | missing_params_and-2795793-3.patch | 702 bytes | markdorison |
| #2 | acceptExposedInput_doc-2795793-2.patch | 684 bytes | shashikant_chauhan |
Comments
Comment #2
shashikant_chauhan commentedAdding patch.
Comment #3
markdorisonComment #4
ricardoamaro commentedThis looks fine.
Comment #5
ricardoamaro commentedre-checking
Comment #6
sutharsan commented@ricardoamaro, thanks for working on this. Please describe what you have checked that resulted in your conclusion. That will give other insight what you have done, how thorough you have investigated this. For example have you looked at various implementation of acceptExposedInput(), have you looked at the code calling acceptExposedInput(), to find out that the @param and @return descritions are correct.
Comment #7
ricardoamaro commented@sutharsan, thanks for the heads up.
While you mentioned it i went back to give a look to the second patch and noticed that while it improves the first patch, it adds a line that is not conclusive that it could be correct.
While other classes with acceptExposedInput, that override this function, in core, return TRUE or FALSE, this one one only returns TRUE, therefore the patch needs to be rechecked by a more deeper insight into the usage of
To conclude, i only have doubts regarding acceptExposedInput returning FALSE in this Class. It surely returns TRUE.
Comment #8
ricardoamaro commentedComment #20
quietone commentedThanks for working to improve the documentation in core.
Missing documentation is not a bug, it is a task. These changes are done by sniff now so I am marking this as outdated and applying credit to one of the related issues, #3207949: Fix Drupal.Commenting.FunctionComment.MissingParamType
Thanks!