@@ -10,11 +10,11 @@ discard block  | 
                                                    ||
| 10 | 10 |  { | 
                                                        
| 11 | 11 | protected 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 | }  | 
                                                        
@@ -41,7 +41,7 @@ discard block  | 
                                                    ||
| 41 | 41 | |
| 42 | 42 | protected function setManageable(string $type, string $relation): void  | 
                                                        
| 43 | 43 |      { | 
                                                        
| 44 | -        if (! isset($this->{$type}) && Auth::check()) { | 
                                                        |
| 44 | +        if ( ! isset($this->{$type}) && Auth::check()) { | 
                                                        |
| 45 | 45 |              $this->{$type} = Auth::id(); | 
                                                        
| 46 | 46 | $this->setRelation($relation, Auth::user());  | 
                                                        
| 47 | 47 | }  |