We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bb45b5 commit 8a85a14Copy full SHA for 8a85a14
lib/Phpfastcache/Drivers/Couchdb/Driver.php
@@ -66,7 +66,7 @@ public function getStats(): DriverStatistic
66
$info = $this->instance->getDatabaseInfo();
67
68
return (new DriverStatistic())
69
- ->setSize($info['sizes']['active'])
+ ->setSize($info['sizes']['active'] ?? 0)
70
->setRawData($info)
71
->setData(implode(', ', array_keys($this->itemInstances)))
72
->setInfo('Couchdb version ' . $this->instance->getVersion() . "\n For more information see RawData.");
0 commit comments