src/HtmlElement.php
public function removeProp(string $name) : self
    {
        if (($key = array_search($name, $this->props)) !== false) {
            unset($this->props[$key]);
        }

        return $this;
    }
public function removeProp(string $name) : self
    {
        if (($key = array_search($name, $this->props)) !== false) {
            unset($this->props[$key]);
        }

        return $this;
    }
@param string $name

@return $this|self