Problem/Motivation
Part of enabling the sniff Drupal.Commenting.FunctionComment.MissingParamType.
This is for the $form, $form_state and $form_id, which should all be the same.
Steps to reproduce
Proposed resolution
Add the missing param type for form, form_state and form_id. And while touching the file also add the comment.
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
Issue fork drupal-3478166
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3478166-add-missingparamtype-for
changes, plain diff MR !9715
Comments
Comment #3
quietone commentedComment #4
quietone commentedComment #5
smustgrave commentedReviewed the changes and the typehints line up with the variables being updated.
LGTM
Comment #6
mstrelan commentedOne $form_id is typed as array instead of string
Comment #7
quietone commented@mstrelan, thanks.
Comment #8
smustgrave commentedFeedback appears to be addressed.
Comment #13
catchCommitted/pushed to 11.x and cherry-picked back through to 10.3.x, thanks!