|
@@ -88,11 +88,11 @@ |
|
|
block discarded – undo |
|
88
|
88
|
$response->setContent(''); // free the memory |
|
89
|
89
|
|
|
90
|
90
|
if (null === $this->newRelicTwigExtension || false === $this->newRelicTwigExtension->isHeaderCalled()) { |
|
91
|
|
- $responseContent = \preg_replace('/<\s*head\s*>/', '$0'.$this->interactor->getBrowserTimingHeader(), $responseContent); |
|
|
91
|
+ $responseContent = \preg_replace('/<\s*head\s*>/', '$0' . $this->interactor->getBrowserTimingHeader(), $responseContent); |
|
92
|
92
|
} |
|
93
|
93
|
|
|
94
|
94
|
if (null === $this->newRelicTwigExtension || false === $this->newRelicTwigExtension->isFooterCalled()) { |
|
95
|
|
- $responseContent = \preg_replace('/<\s*\/\s*body\s*>/', $this->interactor->getBrowserTimingFooter().'$0', $responseContent); |
|
|
95
|
+ $responseContent = \preg_replace('/<\s*\/\s*body\s*>/', $this->interactor->getBrowserTimingFooter() . '$0', $responseContent); |
|
96
|
96
|
} |
|
97
|
97
|
|
|
98
|
98
|
$response->setContent($responseContent); |
Please login to merge, or discard this patch.