You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #47370 Remove usage of empty function when possible (alamirault)
This PR was squashed before being merged into the 6.2 branch.
Discussion
----------
Remove usage of empty function when possible
| Q | A
| ------------- | ---
| Branch? | 6.2
| Bug fix? | no
| New feature? | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead -->
| License | MIT
| Doc PR | symfony/symfony-docs#... <!-- required for new features -->
In recent code reviews we suggest to use `!$var` instead of `empty($var)`
In order to keep same code style in codebase, I replaced usages of empty when it is possible and typehinted
Commits
-------
026edbe601 Remove usage of empty function when possible
0 commit comments