Skip to content

Conversation

@phh
Copy link
Contributor

@phh phh commented Jan 25, 2019

Fix PHPHtmlParser\CurlInterface::get() compatible issue

Getting the following error:

Fatal error: Declaration of PHPHtmlParser\Curl::get(string $url): string must be compatible with PHPHtmlParser\CurlInterface::get($url): string in /home/vagrant/code/vendor/paquettg/php-html-parser/src/PHPHtmlParser/Curl.php on line 11

When using this example:

use PHPHtmlParser\Dom;

$dom = new Dom;
$dom->loadFromUrl('http://google.com');

Fix PHPHtmlParser\CurlInterface::get() compatible issue
@phh
Copy link
Contributor Author

phh commented Jan 26, 2019

Fixes #163

@paquettg paquettg changed the base branch from master to dev/2.0.1 February 2, 2019 17:18
@paquettg paquettg merged commit 7b9ec6d into paquettg:dev/2.0.1 Feb 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants