@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | */ |
39 | 39 | public function deleting(Model $model) |
40 | 40 | { |
41 | - if ($model->usingSoftDeletes()) { |
|
41 | + if ( $model->usingSoftDeletes() ) { |
|
42 | 42 | $model->{config('userstamps.deleted_by_column')} = Auth::id(); |
43 | 43 | $model->{config('userstamps.updated_by_column')} = Auth::id(); |
44 | 44 | $this->saveWithoutEventDispatching($model); |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | */ |
54 | 54 | public function restoring(Model $model) |
55 | 55 | { |
56 | - if ($model->usingSoftDeletes()) { |
|
56 | + if ( $model->usingSoftDeletes() ) { |
|
57 | 57 | $model->{config('userstamps.deleted_by_column')} = null; |
58 | 58 | $model->{config('userstamps.updated_by_column')} = Auth::id(); |
59 | 59 | $this->saveWithoutEventDispatching($model); |