@@ -30,18 +30,18 @@ |
||
| 30 | 30 | public static function bootHasTranslations() |
| 31 | 31 | { |
| 32 | 32 | if (config('translatable.use_saving_service', true)) { |
| 33 | - static::saving(function (self $model) { |
|
| 33 | + static::saving(function(self $model) { |
|
| 34 | 34 | app(TranslationSavingService::class)->rememberTranslationForModel($model); |
| 35 | 35 | }); |
| 36 | 36 | |
| 37 | - static::saved(function (self $model) { |
|
| 37 | + static::saved(function(self $model) { |
|
| 38 | 38 | app(TranslationSavingService::class)->storeTranslationOnModel($model); |
| 39 | 39 | |
| 40 | 40 | $model->refreshTranslation(); |
| 41 | 41 | }); |
| 42 | 42 | } |
| 43 | 43 | |
| 44 | - static::deleting(function (self $model) { |
|
| 44 | + static::deleting(function(self $model) { |
|
| 45 | 45 | $model->purgeTranslations(); |
| 46 | 46 | }); |
| 47 | 47 | |