Passed
Pull Request — master (#5)
by
unknown
06:18
created
src/Observers/UserStampObserver.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.