Skip to content
Snippets Groups Projects

Update BeautifyResponseFilter.php

Open ressa requested to merge issue/beautify-3303202:1.0.x into 1.0.x
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -69,7 +69,7 @@ class BeautifyResponseFilter implements EventSubscriberInterface {
$response = $event->getResponse();
$content_type = $response->headers->get('Content-Type');
if (stripos($content_type, 'text/html') === FALSE) {
if (stripos((string) $content_type, 'text/html') === FALSE) {
return;
}
Loading