paquettg / php-html-parser

An HTML DOM parser. It allows you to manipulate HTML. Find tags on an HTML page with selectors just like jQuery.
MIT License
2.37k stars 461 forks source link

Added return type to offsetGet method #319

Open omidfarahani opened 1 year ago

omidfarahani commented 1 year ago

Added return type to offsetGet method in PHPHtmlParser/Dom/Node/Collection class in order to fix deprecation notice caused by return type mismatch between the class and ArrayAccess interface

star-szr commented 10 months ago

See also #291 (which fixes the deprecation notice in a different way).