Passed
Branch master (d104a8)
by Vasyl
10:37
created
Category
src/ServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,11 +27,11 @@
 block discarded – undo
27 27
     {
28 28
         $this->mergeConfigFrom(__DIR__ . '/../config/translatable.php', 'translatable');
29 29
 
30
-        Blueprint::macro('translatable', function () {
30
+        Blueprint::macro('translatable', function() {
31 31
             TranslatableColumns::columns($this);
32 32
         });
33 33
 
34
-        Blueprint::macro('dropTranslatable', function () {
34
+        Blueprint::macro('dropTranslatable', function() {
35 35
             TranslatableColumns::dropColumns($this);
36 36
         });
37 37
 
Please login to merge, or discard this patch.
src/Traits/HasTranslations.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
 
13 13
     protected static function bootHasTranslations()
14 14
     {
15
-        static::saved(function ($model) {
15
+        static::saved(function($model) {
16 16
             if ($model->{$model->getLangcodeColumn()} && empty($model->{$model->getTranslationUuidColumn()})) {
17 17
                 $model->{$model->getTranslationUuidColumn()} = Str::uuid();
18 18
                 $model->save();
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      */
52 52
     public function getTranslationList(): Collection
53 53
     {
54
-        $languages = config('translatable.languages', []);
54
+        $languages = config('translatable.languages', [ ]);
55 55
         $translations = $this->translations;
56 56
         $result = new Collection();
57 57
 
Please login to merge, or discard this patch.