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: we use PHPStan to analyze our code base. It does not know that the interface methods can produce NULL values and then complains when we check for NULL.
Solution: fix the doc comments to indicate that NULL can be returned.
Comment | File | Size | Author |
---|---|---|---|
#2 | profile-null-3170218-2.patch | 992 bytes | klausi |
Comments
Comment #2
klausiPatch.
Comment #3
hideaway CreditAttribution: hideaway at jobiqo - job board technology commentedLooks good to me! RTBC
Comment #4
bradjones1I came to the issue queue to submit the same; I'll second the RTBC.
Comment #6
mglamanCommitted for the next quick release