Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Noticed this while working on #2567215: Add test coverage for Node revision link handlers.
NodeRevisionAccessCheck::__construct
's docblock shows a second parameter \Drupal\Core\Database\Connection $connection
while there is only 1 allowed.
Proposed resolution
Remove it.
Issue category | Bug because function docblocks should match the actual parameters. |
---|---|
Issue priority | Normal because this is just documentation. |
Unfrozen changes | Unfrozen because it only fixes documentation |
Comment | File | Size | Author |
---|---|---|---|
#2 | 2567597-2.patch | 702 bytes | geertvd |
Comments
Comment #2
geertvd CreditAttribution: geertvd at XIO commentedComment #4
dawehnerThank you, good catch!
Comment #5
geertvd CreditAttribution: geertvd at XIO commentedComment #6
alexpottCommitted 9196a6b and pushed to 8.0.x. Thanks!