Test Setup Failed
Pull Request — master (#43)
by
unknown
54s
created
src/Uuids.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
      */
14 14
     protected static function bootUuids()
15 15
     {
16
-        static::creating(function (Model $model) {
16
+        static::creating(function(Model $model) {
17 17
             if (config('uuid.default_uuid_column') === 'id') {
18 18
                 $model->incrementing = false;
19 19
             }
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
                 $model->{config('uuid.default_uuid_column')} = Uuid::uuid4()->toString();
22 22
             }
23 23
         });
24
-        static::saving(function ($model) {
24
+        static::saving(function($model) {
25 25
             $original_uuid = $model->getOriginal(config('uuid.default_uuid_column'));
26 26
             if ($original_uuid !== $model->{config('uuid.default_uuid_column')}) {
27 27
                 $model->{config('uuid.default_uuid_column')} = $original_uuid;
Please login to merge, or discard this patch.