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.
The PasswordConstraintInterface file has an incorrect return type on the validate method. It currently has a boolean return type, but should be PasswordPolicyValidation as the return type, as all the validation plugins currently are returning a PasswordPolicyValidation object.
Comment | File | Size | Author |
---|---|---|---|
#2 | interface-incorrect-return-type-2728753-2.patch | 568 bytes | mroycroft |
Comments
Comment #2
mroycroft CreditAttribution: mroycroft at Workday, Inc. commentedHere's a patch with the proposed fix.
Comment #3
mroycroft CreditAttribution: mroycroft at Workday, Inc. commentedComment #4
nerdsteinReviewed, this patch looks good. Thank you.
I will be committing this weekend.
Comment #5
mahalingam_cs CreditAttribution: mahalingam_cs at TATA Consultancy Services commentedApplied the patch successfully.Tested and verified.
Comment #7
nerdstein