Skip to content

Commit

Permalink
Merge pull request #1 from YaroslavNahirnyi/patch-1
Browse files Browse the repository at this point in the history
Fixed name of function
  • Loading branch information
ivankolodii authored Dec 5, 2018
2 parents 522ab71 + ec10878 commit 2a439d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SoftDeletingBooleanScope.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function extend(Builder $builder)
}

$builder->onDelete(function (Builder $builder) {
$column = $this->getDeletedAtColumn($builder);
$column = $this->getIsDeletedColumn($builder);

return $builder->update([
$column => $builder->getModel()->freshTimestampString(),
Expand Down

0 comments on commit 2a439d3

Please sign in to comment.