Skip to content

Commit 024123d

Browse files
committed
Fixed for PHP 8.1
1 parent 4e01a43 commit 024123d

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)