diff --git a/composer.json b/composer.json index 166886f7..0857f7f8 100755 --- a/composer.json +++ b/composer.json @@ -1,9 +1,9 @@ { - "name": "paquettg/php-html-parser", + "name": "masroore/php-html-parser", "type": "library", "description": "An HTML DOM parser. It allows you to manipulate HTML. Find tags on an HTML page with selectors just like jQuery.", "keywords": ["html", "dom", "parser"], - "homepage": "https://github.com/paquettg/php-html-parser", + "homepage": "https://github.com/masroore/php-html-parser.git", "license": "MIT", "authors": [ { diff --git a/src/PHPHtmlParser/Dom/Node/Collection.php b/src/PHPHtmlParser/Dom/Node/Collection.php index ff447259..543b7eca 100644 --- a/src/PHPHtmlParser/Dom/Node/Collection.php +++ b/src/PHPHtmlParser/Dom/Node/Collection.php @@ -130,6 +130,7 @@ public function offsetUnset($offset): void * * @return mixed */ + #[\ReturnTypeWillChange] public function offsetGet($offset) { return $this->collection[$offset] ?? null;