php-html-parser
php-html-parser copied to clipboard
Prevent fatal when not an object
Should resolve #256
This looks like a good fix to me.
I also added it to PR https://github.com/paquettg/php-html-parser/pull/289, so you could close this if you wanted.
@paquettg please merge this 🙏
This repo is no longer maintained. I suggest moving to another one. See the comments in https://github.com/paquettg/php-html-parser/pull/289