@@ -10,11 +10,11 @@ |
||
| 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 | } |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | */ |
| 15 | 15 | public function boot() |
| 16 | 16 | { |
| 17 | - Blueprint::macro('manageable', function () { |
|
| 17 | + Blueprint::macro('manageable', function() { |
|
| 18 | 18 | |
| 19 | 19 | $bigIntegers = config('manageable.big_integers', true); |
| 20 | 20 | $foreignTable = config('manageable.foreign_table', 'users'); |