function resetChangeHistory($attribute) {
    if ($this->propertyExists($attribute, 'changes')) {
        $this->setPropertyFor($attribute, 'changes', [], null, false);
    }

    return $this;
  }
function resetChangeHistory($attribute) {
    if ($this->propertyExists($attribute, 'changes')) {
        $this->setPropertyFor($attribute, 'changes', [], null, false);
    }

    return $this;
  }
function resetChangeHistory ( $ attribute ) { if ( $ this -> propertyExists ( $ attribute , 'changes' ) ) { $ this -> setPropertyFor ( $ attribute , 'changes' , [ ] , null , false ) ; } return $ this ; }
`resetChangeHistory` clears the change history for an attribute

@param   string  $attribute  attribute name

@return  $this
resetChangeHistory clears the change history for an attribute