@@ -88,11 +88,11 @@ |
||
88 | 88 | $response->setContent(''); // free the memory |
89 | 89 | |
90 | 90 | if ((null === $this->newRelicTwigExtension || false === $this->newRelicTwigExtension->isHeaderCalled()) && false !== ($pos = stripos($responseContent, '<head>'))) { |
91 | - $responseContent = substr($responseContent, 0, $pos + 6).$this->interactor->getBrowserTimingHeader().substr($responseContent, $pos + 6); |
|
91 | + $responseContent = substr($responseContent, 0, $pos + 6) . $this->interactor->getBrowserTimingHeader() . substr($responseContent, $pos + 6); |
|
92 | 92 | } |
93 | 93 | |
94 | 94 | if ((null === $this->newRelicTwigExtension || false === $this->newRelicTwigExtension->isFooterCalled()) && false !== ($pos = stripos($responseContent, '</body>'))) { |
95 | - $responseContent = substr($responseContent, 0, $pos).$this->interactor->getBrowserTimingFooter().substr($responseContent, $pos); |
|
95 | + $responseContent = substr($responseContent, 0, $pos) . $this->interactor->getBrowserTimingFooter() . substr($responseContent, $pos); |
|
96 | 96 | } |
97 | 97 | |
98 | 98 | $response->setContent($responseContent); |