src/PHPHtmlParser/Dom/Collection.php
public function offsetGet($offset)
    {
        return isset($this->collection[$offset]) ? $this->collection[$offset] : null;
    }
public function offsetGet($offset)
    {
        return isset($this->collection[$offset]) ? $this->collection[$offset] : null;
    }
public function offsetGet ( $ offset ) { return isset ( $ this -> collection [ $ offset ] ) ? $ this -> collection [ $ offset ] : null ; }
Gets a node at the given offset, or null

@param mixed $offset
@return mixed
Gets a node at the given offset or null