Completed
Branch master (42f194)
by Michael
03:00
created
Category
src/GeneratesUuid.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,11 +30,11 @@
 block discarded – undo
30 30
          * When persisting a new model instance, we resolve the UUID field, then set
31 31
          * a fresh UUID
32 32
          */
33
-        static::creating(function ($model) {
33
+        static::creating(function($model) {
34 34
             $uuidField = $model->resolveUuidField();
35 35
             $uuidVersion = $model->resolveUuidVersion();
36 36
 
37
-            if (! $model->{$uuidField}) {
37
+            if (!$model->{$uuidField}) {
38 38
                 $model->{$uuidField} = call_user_func("\Ramsey\Uuid\Uuid::{$uuidVersion}")->toString();
39 39
             }
40 40
         });
Please login to merge, or discard this patch.