Completed
Push — master ( 4ca09f...95e9a7 )
by Emad
10s
created
src/Uuids.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,12 +13,12 @@
 block discarded – undo
13 13
     protected static function boot()
14 14
     {
15 15
         parent::boot();
16
-        static::creating(function ($model) {
16
+        static::creating(function($model) {
17 17
             if (!$model->{config('uuid.default_uuid_column')}) {
18 18
                 $model->{config('uuid.default_uuid_column')} = strtoupper(Uuid::uuid4()->toString());
19 19
             }
20 20
         });
21
-        static::saving(function ($model) {
21
+        static::saving(function($model) {
22 22
             $original_uuid = $model->getOriginal(config('uuid.default_uuid_column'));
23 23
             if ($original_uuid !== $model->{config('uuid.default_uuid_column')}) {
24 24
                 $model->{config('uuid.default_uuid_column')} = $original_uuid;
Please login to merge, or discard this patch.