diff --git a/src/SEOMagic.php b/src/SEOMagic.php index 296cd4e..961aac0 100644 --- a/src/SEOMagic.php +++ b/src/SEOMagic.php @@ -144,7 +144,7 @@ public function getPageContent(string $uri): PageResponse ] ]); - $response = new PageResponse($this->getDomParser()->loadStr((string) $page->content(), [ + $response = new PageResponse((string) $this->getDomParser()->loadStr( $page->content(), [ 'removeScripts' => true, 'removeStyles' => true ]), $page_response->headers(), $page_response->status());