cache-plugin
cache-plugin copied to clipboard
explicitly use 0 instead of adding null
| Q | A |
|---|---|
| Bug fix? | no |
| New feature? | no |
| BC breaks? | no |
| Deprecations? | no |
| Related tickets | discovered during https://github.com/php-http/HttplugBundle/pull/417 |
| Documentation | - |
| License | MIT |
What's in this PR?
Convert null to 0 before adding values to be cleaner.
Why?
Do not rely on implicit type conversions.