@@ -61,10 +61,10 @@ discard block |
||
61 | 61 | |
62 | 62 | // send parameters to New Relic |
63 | 63 | foreach ($input->getOptions() as $key => $value) { |
64 | - $key = '--'.$key; |
|
64 | + $key = '--' . $key; |
|
65 | 65 | if (\is_array($value)) { |
66 | 66 | foreach ($value as $k => $v) { |
67 | - $this->interactor->addCustomParameter($key.'['.$k.']', $v); |
|
67 | + $this->interactor->addCustomParameter($key . '[' . $k . ']', $v); |
|
68 | 68 | } |
69 | 69 | } else { |
70 | 70 | $this->interactor->addCustomParameter($key, $value); |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | foreach ($input->getArguments() as $key => $value) { |
75 | 75 | if (\is_array($value)) { |
76 | 76 | foreach ($value as $k => $v) { |
77 | - $this->interactor->addCustomParameter($key.'['.$k.']', $v); |
|
77 | + $this->interactor->addCustomParameter($key . '[' . $k . ']', $v); |
|
78 | 78 | } |
79 | 79 | } else { |
80 | 80 | $this->interactor->addCustomParameter($key, $value); |
@@ -87,11 +87,11 @@ |
||
87 | 87 | $responseContent = $response->getContent(); |
88 | 88 | |
89 | 89 | if (null === $this->newRelicTwigExtension || false === $this->newRelicTwigExtension->isHeaderCalled()) { |
90 | - $responseContent = \preg_replace('/<\s*head\s*>/', '$0'.$this->interactor->getBrowserTimingHeader(), $responseContent); |
|
90 | + $responseContent = \preg_replace('/<\s*head\s*>/', '$0' . $this->interactor->getBrowserTimingHeader(), $responseContent); |
|
91 | 91 | } |
92 | 92 | |
93 | 93 | if (null === $this->newRelicTwigExtension || false === $this->newRelicTwigExtension->isFooterCalled()) { |
94 | - $responseContent = \preg_replace('/<\s*\/\s*body\s*>/', $this->interactor->getBrowserTimingFooter().'$0', $responseContent); |
|
94 | + $responseContent = \preg_replace('/<\s*\/\s*body\s*>/', $this->interactor->getBrowserTimingFooter() . '$0', $responseContent); |
|
95 | 95 | } |
96 | 96 | |
97 | 97 | if ($responseContent) { |