colinmollenhour / Cm_Cache_Backend_Redis

A Zend_Cache backend for Redis with full support for tags (works great with Magento)
Other
390 stars 142 forks source link

Fix PHP 8.1 Warning: Trying to access array offset on value of type bool #166

Closed bbakalov closed 2 years ago

bbakalov commented 2 years ago

In PHP 8.1 Notice: Undefined offset: 0 changed to Warning: Undefined array key 0, so I changed it to avoid this error not depending on any PHP version

colinmollenhour commented 2 years ago

Thanks for the PR!

bbakalov commented 2 years ago

Thanks for the PR!

thank you for your work