@@ -51,7 +51,7 @@ |
||
| 51 | 51 | ->always() |
| 52 | 52 | // here we force casting `float` to `string` to avoid TypeError when working with Redis |
| 53 | 53 | // see for more details: https://github.com/phpredis/phpredis/issues/1538 |
| 54 | - ->then(function ($v) { return (string) $v; }) |
|
| 54 | + ->then(function($v) { return (string) $v; }) |
|
| 55 | 55 | ->end() |
| 56 | 56 | ->end() |
| 57 | 57 | ->booleanNode('persistent_connections')->end() |
@@ -103,7 +103,7 @@ |
||
| 103 | 103 | $this->inc5xxResponsesTotal($requestMethod, $requestRoute); |
| 104 | 104 | } |
| 105 | 105 | |
| 106 | - if($this->stopwatch && $this->stopwatch->isStarted('execution_time')) { |
|
| 106 | + if ($this->stopwatch && $this->stopwatch->isStarted('execution_time')) { |
|
| 107 | 107 | $evt = $this->stopwatch->stop('execution_time'); |
| 108 | 108 | if (null !== $evt) { |
| 109 | 109 | $this->setRequestDuration($evt->getDuration() / 1000, $requestMethod, $requestRoute); |