src/Autocreate/Handlers/OnBeforeHLBlockUpdate.php
protected function fieldsHaveBeenChanged()
    {
        $old = HighloadBlockTable::getById($this->id)->fetch();
        $new = $this->fields + ['ID' => (string) $this->id];

        return $new != $old;
    }
protected function fieldsHaveBeenChanged()
    {
        $old = HighloadBlockTable::getById($this->id)->fetch();
        $new = $this->fields + ['ID' => (string) $this->id];

        return $new != $old;
    }
protected function fieldsHaveBeenChanged ( ) { $ old = HighloadBlockTable :: getById ( $ this -> id ) -> fetch ( ) ; $ new = $ this -> fields + [ 'ID' => ( string ) $ this -> id ] ; return $ new != $ old ; }
Determine if fields have been changed.

@return bool
Determine if fields have been changed .