phpro / grumphp

A PHP code-quality tool
MIT License
4.11k stars 429 forks source link

Apply ternary to null operator #1110

Closed peter279k closed 9 months ago

peter279k commented 9 months ago
Q A
Branch 2.x
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Documented? no

It should use the ternary null operator to process the variable is null.

New Task Checklist:

veewee commented 9 months ago

Thanks! :)