Skip to content

Commit f2260a1

Browse files
authored
Merge pull request #635 from afdaniele/patch-1
fixed bug in Apcu driver.
2 parents 3cb5fc5 + 78bf66f commit f2260a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Phpfastcache/Drivers/Apcu/Driver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,6 @@ public function getStats(): DriverStatistic
127127
->setInfo(\sprintf("The APCU cache is up since %s, and have %d item(s) in cache.\n For more information see RawData.", $date->format(\DATE_RFC2822),
128128
$stats['num_entries']))
129129
->setRawData($stats)
130-
->setSize($stats['mem_size']);
130+
->setSize((int)$stats['mem_size']);
131131
}
132-
}
132+
}

0 commit comments

Comments
 (0)