Problem/Motivation
Should allow for nullability.
Steps to reproduce
phpstan results like:
Negated boolean expression is always false.
because it doesn't know it can return NULL.
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Issue fork drupal-3360139
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:
Comments
Comment #3
bradjones1Comment #4
smustgrave commentedSimple fix.
Comment #6
longwaveBackported across all branches as a docs-only fix.
Committed and pushed 8b85a04407 to 11.x (10.2.x) and 8a32152fc7 to 10.1.x and 207c634852 to 10.0.x and e83fe5e99b to 9.5.x. Thanks!
Comment #7
longwave