@@ -128,7 +128,7 @@ |
||
| 128 | 128 | } |
| 129 | 129 | |
| 130 | 130 | /** |
| 131 | - * @param $extraInfo |
|
| 131 | + * @param string $extraInfo |
|
| 132 | 132 | * |
| 133 | 133 | * @return bool |
| 134 | 134 | */ |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | { |
| 41 | 41 | $record = parent::__invoke($record); |
| 42 | 42 | |
| 43 | - if($this->container === null){ |
|
| 43 | + if ($this->container === null) { |
|
| 44 | 44 | return $record; |
| 45 | 45 | } |
| 46 | 46 | |
@@ -78,8 +78,8 @@ discard block |
||
| 78 | 78 | { |
| 79 | 79 | if (null !== $request = $this->container->get('request_stack')->getCurrentRequest() |
| 80 | 80 | ) { |
| 81 | - if($request instanceof Request){ |
|
| 82 | - if($this->configShowExtraInfo('url')) { |
|
| 81 | + if ($request instanceof Request) { |
|
| 82 | + if ($this->configShowExtraInfo('url')) { |
|
| 83 | 83 | $record['extra']['url'] = $request->getRequestUri(); |
| 84 | 84 | } |
| 85 | 85 | if ($this->configShowExtraInfo('route')) { |
@@ -122,8 +122,8 @@ discard block |
||
| 122 | 122 | $record['extra']['global_channel'] = $record['channel']; |
| 123 | 123 | } |
| 124 | 124 | |
| 125 | - if($this->channelPrefix !== null) { |
|
| 126 | - $record['channel'] = sprintf('%s.%s', $this->channelPrefix,$record['channel']); |
|
| 125 | + if ($this->channelPrefix !== null) { |
|
| 126 | + $record['channel'] = sprintf('%s.%s', $this->channelPrefix, $record['channel']); |
|
| 127 | 127 | } |
| 128 | 128 | } |
| 129 | 129 | |