src/EloquentRepository.php
public function update($model, array $attributes)
	{
		if (!$model->exists) {
			throw new \RuntimeException('Cannot update non-existant model');
		}

		return parent::update($model, $attributes);
	}
public function update($model, array $attributes)
	{
		if (!$model->exists) {
			throw new \RuntimeException('Cannot update non-existant model');
		}

		return parent::update($model, $attributes);
	}
{@inheritdoc}