Test Setup Failed
Pull Request — master (#11)
by Andrey
06:38
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
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      * Scope  by uuid
39 39
      * @param  string  uuid of the model.
40 40
      *
41
-    */
41
+     */
42 42
     public function scopeUuid($query, $uuid, $first = true)
43 43
     {
44 44
         $match = preg_match('/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/', $uuid);
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
     {
15 15
         parent::boot();
16 16
 
17
-        static::creating(function ($model) {
17
+        static::creating(function($model) {
18 18
             $defaultUuidColumn = config('uuid.default_uuid_column');
19 19
             $column = str_replace('{table}', $defaultUuidColumn, $model->getTable());
20 20
 
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
             }
24 24
         });
25 25
 
26
-        static::saving(function ($model) {
26
+        static::saving(function($model) {
27 27
             $defaultUuidColumn = config('uuid.default_uuid_column');
28 28
             $column = str_replace('{table}', $defaultUuidColumn, $model->getTable());
29 29
 
Please login to merge, or discard this patch.