Skip to content

Commit dccc6ed

Browse files
committed
Added return type to offsetGet method
in PHPHtmlParser/Dom/Node/Collection class
1 parent 4e01a43 commit dccc6ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PHPHtmlParser/Dom/Node/Collection.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public function offsetUnset($offset): void
130130
*
131131
* @return mixed
132132
*/
133-
public function offsetGet($offset)
133+
public function offsetGet($offset): mixed
134134
{
135135
return $this->collection[$offset] ?? null;
136136
}

0 commit comments

Comments
 (0)