Passed
Push — master ( c34076...703e6b )
by Tobias
03:30
created
src/Models/Logs/ChangeByUser.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@  discard block
 block discarded – undo
12 12
      */
13 13
     public static function bootChangeByUser()
14 14
     {
15
-        static::creating(function ($model) {
16
-            if (App::runningInConsole() || ! Auth::check()) {
15
+        static::creating(function($model) {
16
+            if (App::runningInConsole() || !Auth::check()) {
17 17
                 return true;
18 18
             }
19 19
             if ($model->getCreatedByColumn()) {
@@ -26,8 +26,8 @@  discard block
 block discarded – undo
26 26
             return true;
27 27
         });
28 28
 
29
-        static::updating(function ($model) {
30
-            if (App::runningInConsole() || ! Auth::check()) {
29
+        static::updating(function($model) {
30
+            if (App::runningInConsole() || !Auth::check()) {
31 31
                 return true;
32 32
             }
33 33
             if ($model->getUpdatedByColumn()) {
@@ -37,8 +37,8 @@  discard block
 block discarded – undo
37 37
             return true;
38 38
         });
39 39
 
40
-        static::deleting(function ($model) {
41
-            if (App::runningInConsole() || ! Auth::check()) {
40
+        static::deleting(function($model) {
41
+            if (App::runningInConsole() || !Auth::check()) {
42 42
                 return true;
43 43
             }
44 44
             if ($model->getDeletedByColumn()) {
Please login to merge, or discard this patch.