mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 15:33:15 +00:00
Cast isOnline return value to ensure boolean
This commit is contained in:
@@ -34,7 +34,7 @@ class MemcacheCache extends DoctrineMemcache implements Cache
|
||||
*/
|
||||
public function isOnline()
|
||||
{
|
||||
return $this->getMemcache()->getstats();
|
||||
return (Boolean) $this->getMemcache()->getstats();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user