@@ -67,9 +67,11 @@ |
||
67 | 67 | $isHtmlResponse = $response instanceof HtmlResponse; |
68 | 68 | $hasHtmlContent = strstr($contentType[0], 'text/html'); |
69 | 69 | |
70 | - if (!$isHtmlResponse || !$hasHtmlContent)) { |
|
70 | + if (!$isHtmlResponse || !$hasHtmlContent) { |
|
71 | + ) { |
|
71 | 72 | return $response; |
72 | 73 | } |
74 | + } |
|
73 | 75 | |
74 | 76 | $body = ['content' => $response->getBody()->getContents()]; |
75 | 77 | $body = $this->viewEngine->render($this->layout, $body); |