cache-plugin icon indicating copy to clipboard operation
cache-plugin copied to clipboard

explicitly use 0 instead of adding null

Open dbu opened this issue 3 years ago • 0 comments

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.

dbu avatar Jun 01 '22 06:06 dbu