Passed
Push — master ( a2874f...a67d97 )
by Ro Kleine
03:38
created
src/Manageable.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,11 +10,11 @@
 block discarded – undo
10 10
 {
11 11
     public static function bootManageable(): void
12 12
     {
13
-        static::creating(function (Model $model) {
13
+        static::creating(function(Model $model) {
14 14
             $model->setManageable('created_by', 'creator');
15 15
         });
16 16
 
17
-        static::updating(function (Model $model) {
17
+        static::updating(function(Model $model) {
18 18
             $model->setManageable('updated_by', 'editor');
19 19
         });
20 20
     }
Please login to merge, or discard this patch.
src/ManageableServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
         $foreignTable = config('manageable.foreign_table', 'users');
19 19
         $foreignId = config('manageable.foreign_id', 'id');
20 20
 
21
-        Blueprint::macro('manageable', function ($bigIntegers, $foreignTable, $foreignKey) {
21
+        Blueprint::macro('manageable', function($bigIntegers, $foreignTable, $foreignKey) {
22 22
             $bigIntegers
23 23
                 ? $this->unsignedBigInteger('created_by')->nullable()->index()
24 24
                 : $this->unsignedInteger('created_by')->nullable()->index();
Please login to merge, or discard this patch.