@@ -67,6 +67,9 @@ |
||
| 67 | 67 | } |
| 68 | 68 | } |
| 69 | 69 | |
| 70 | + /** |
|
| 71 | + * @param string $namespace |
|
| 72 | + */ |
|
| 70 | 73 | private function getProxyClass($namespace) |
| 71 | 74 | { |
| 72 | 75 | return 'php_cache_proxy_'.str_replace('\\', '_', $namespace); |
@@ -90,7 +90,7 @@ discard block |
||
| 90 | 90 | } finally { |
| 91 | 91 | $event->end = microtime(true); |
| 92 | 92 | } |
| 93 | - $f = function () use ($result, $event) { |
|
| 93 | + $f = function() use ($result, $event) { |
|
| 94 | 94 | $event->result = []; |
| 95 | 95 | foreach ($result as $key => $item) { |
| 96 | 96 | if ($item->isHit()) { |
@@ -168,7 +168,7 @@ discard block |
||
| 168 | 168 | |
| 169 | 169 | private function start($name, $argument = null) |
| 170 | 170 | { |
| 171 | - $this->__calls[] = $event = new TraceableAdapterEvent(); |
|
| 171 | + $this->__calls[] = $event = new TraceableAdapterEvent(); |
|
| 172 | 172 | $event->name = $name; |
| 173 | 173 | $event->argument = $argument; |
| 174 | 174 | $event->start = microtime(true); |