Skip to content
This repository has been archived by the owner on Jun 2, 2020. It is now read-only.

Commit

Permalink
Convert object to string
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert-Hucks committed Aug 20, 2019
1 parent 8db4735 commit 487a12a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SEOMagic.php
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 487a12a

Please sign in to comment.