File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/phpFastCache/Drivers/Zendshm Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -133,14 +133,14 @@ public function getStats()
133133 if (function_exists ('zend_shm_cache_info ' )) {
134134 $ stats = (array )zend_shm_cache_info ();
135135 return (new driverStatistic ())
136- ->setData (implode (', ' , array_keys ($ this ->namespaces )))
136+ ->setData (implode (', ' , array_keys ($ this ->itemInstances )))
137137 ->setInfo (sprintf ("The Zend memory have %d item(s) in cache. \n For more information see RawData. " , $ stats ['items_total ' ]))
138138 ->setRawData ($ stats )
139139 ->setSize ($ stats ['memory_total ' ]);
140140 } else {
141141 /** zend_shm_cache_info supported V8 or higher */
142142 return (new driverStatistic ())
143- ->setData (implode (', ' , array_keys ($ this ->namespaces )))
143+ ->setData (implode (', ' , array_keys ($ this ->itemInstances )))
144144 ->setInfo ("The Zend memory statistics is only supported by ZendServer V8 or higher " )
145145 ->setRawData (null )
146146 ->setSize (0 );
You can’t perform that action at this time.
0 commit comments