Test Setup Failed
Pull Request — master (#43)
by
unknown
54s
created
src/LaravelUuidServiceProvider.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -6,11 +6,11 @@  discard block
 block discarded – undo
6 6
 
7 7
 class LaravelUuidServiceProvider extends ServiceProvider
8 8
 {
9
-     /**
10
-     * Indicates if loading of the provider is deferred.
11
-     *
12
-     * @var bool
13
-     */
9
+        /**
10
+         * Indicates if loading of the provider is deferred.
11
+         *
12
+         * @var bool
13
+         */
14 14
     protected $defer = false;
15 15
 
16 16
     /**
@@ -34,6 +34,6 @@  discard block
 block discarded – undo
34 34
      */
35 35
     public function register()
36 36
     {
37
-     //
37
+        //
38 38
     }
39 39
 }
Please login to merge, or discard this patch.
src/Uuids.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
      * Scope  by uuid 
30 30
      * @param  string  uuid of the model.
31 31
      * 
32
-    */
32
+     */
33 33
     public function scopeUuid($query, $uuid, $first = true)
34 34
     {
35 35
         $match = preg_match('/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/', $uuid);
Please login to merge, or discard this 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.