|
@@ -130,8 +130,8 @@ |
|
|
block discarded – undo |
|
130
|
130
|
*/ |
|
131
|
131
|
public function getStats() |
|
132
|
132
|
{ |
|
133
|
|
- if(function_exists('zend_shm_cache_info')) { |
|
134
|
|
- $stats = (array)zend_shm_cache_info(); |
|
|
133
|
+ if (function_exists('zend_shm_cache_info')) { |
|
|
134
|
+ $stats = (array) zend_shm_cache_info(); |
|
135
|
135
|
return (new driverStatistic()) |
|
136
|
136
|
->setData(implode(', ', array_keys($this->namespaces))) |
|
137
|
137
|
->setInfo(sprintf("The Zend memory have %d item(s) in cache.\n For more information see RawData.", $stats['items_total'])) |
Please login to merge, or discard this patch.