src/Repository.php
public function updateModel(array $data, Model $model)
    {
        $model = $model->fill($data);

        return $model->isDirty() && $model->update($data);
    }
public function updateModel(array $data, Model $model)
    {
        $model = $model->fill($data);

        return $model->isDirty() && $model->update($data);
    }
public function updateModel ( array $ data , Model $ model ) { $ model = $ model -> fill ( $ data ) ; return $ model -> isDirty ( ) && $ model -> update ( $ data ) ; }
Update a model passed in. Returns a boolean indicating whether the
model has been modified or not.

@param array $data
@param Model $model
@return bool
@throws RepositoryException
Update a model passed in . Returns a boolean indicating whether the model has been modified or not .