@@ -39,7 +39,7 @@ |
||
| 39 | 39 | $factory = $container->register($factoryId, Factory::class); |
| 40 | 40 | // Check if logging support is enabled |
| 41 | 41 | if ($container->hasParameter('cache.logging')) { |
| 42 | - $config = $container->getParameter('cache.logging'); |
|
| 42 | + $config = $container->getParameter('cache.logging'); |
|
| 43 | 43 | $factory->addArgument(new Reference($config['logger'])); |
| 44 | 44 | $factory->addArgument($config['level']); |
| 45 | 45 | } |
@@ -181,7 +181,7 @@ discard block |
||
| 181 | 181 | ->beforeNormalization() |
| 182 | 182 | ->ifString() |
| 183 | 183 | ->then( |
| 184 | - function ($v) { |
|
| 184 | + function($v) { |
|
| 185 | 185 | return (array) $v; |
| 186 | 186 | } |
| 187 | 187 | ) |
@@ -193,7 +193,7 @@ discard block |
||
| 193 | 193 | ->beforeNormalization() |
| 194 | 194 | ->ifString() |
| 195 | 195 | ->then( |
| 196 | - function ($v) { |
|
| 196 | + function($v) { |
|
| 197 | 197 | return (array) $v; |
| 198 | 198 | } |
| 199 | 199 | ) |
@@ -147,7 +147,7 @@ discard block |
||
| 147 | 147 | } finally { |
| 148 | 148 | $event->end = microtime(true); |
| 149 | 149 | } |
| 150 | - $f = function () use ($result, $event) { |
|
| 150 | + $f = function() use ($result, $event) { |
|
| 151 | 151 | $event->result = []; |
| 152 | 152 | foreach ($result as $key => $item) { |
| 153 | 153 | if ($item->isHit()) { |
@@ -209,7 +209,7 @@ discard block |
||
| 209 | 209 | |
| 210 | 210 | protected function start($name, $argument = null) |
| 211 | 211 | { |
| 212 | - $this->calls[] = $event = new TraceableAdapterEvent(); |
|
| 212 | + $this->calls[] = $event = new TraceableAdapterEvent(); |
|
| 213 | 213 | $event->name = $name; |
| 214 | 214 | $event->argument = $argument; |
| 215 | 215 | $event->start = microtime(true); |