Skip to content

Commit d22924e

Browse files
authored
Merge pull request #2 from davidbyoung/290-fix
Fixed for PHP 8.1
2 parents 1e8c984 + 024123d commit d22924e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/PHPHtmlParser/Dom/Node/Collection.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ public function offsetUnset($offset): void
130130
*
131131
* @return mixed
132132
*/
133+
#[\ReturnTypeWillChange]
133134
public function offsetGet($offset)
134135
{
135136
return $this->collection[$offset] ?? null;

0 commit comments

Comments
 (0)