mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-08 10:34:34 +00:00

Because of highly concurrent accesses to cache layer, calling isset/get can sometimes fail. To avoid this, a callback function can be used in memcached driver but it is maintained by doctrine/cache. To prevent error, check whether returned value is of proper type.