Skip to content

Commit

Permalink
libxml_use_internal_errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jerodev committed Sep 10, 2020
1 parent 9f7d92e commit 5c390dd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/WebClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ public function __construct(array $guzzleConfig = [])
], $guzzleConfig);

$this->client = new Client($config);

// https://www.php.net/manual/en/function.libxml-use-internal-errors.php
\libxml_use_internal_errors(true);
}

public function get(string $url): NodeFilter
Expand Down

0 comments on commit 5c390dd

Please sign in to comment.