code: public function removeAttribute(string $name) : self
      {
          if (isset($this->attributes[$name])) {
              unset($this->attributes[$name]);
          }
  
          return $this;
      }
docs: @param string $name
  
  @return $this|self