Passed
Push — ft/fragments ( fb4fab...9811b8 )
by Ben
06:21
created
src/Pages/PageManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
             $this->pageBuilderField(),
89 89
             InputField::make('title')->translatable($this->model->availableLocales())
90 90
                 ->validation('required-fallback-locale|max:200', [], [
91
-                    'trans.' . config('app.fallback_locale', 'nl') . '.title' => 'title',
91
+                    'trans.'.config('app.fallback_locale', 'nl').'.title' => 'title',
92 92
                 ])
93 93
                 ->label('Intern label')
94 94
                 ->description('Dit is de benaming die zal worden getoond in de admin selectie velden.')
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
             if (is_array_empty($translation)) {
211 211
 
212 212
                 // Nullify all values
213
-                $trans[$locale] = array_map(function ($value) {
213
+                $trans[$locale] = array_map(function($value) {
214 214
                     return null;
215 215
                 }, $translation);
216 216
                 continue;
Please login to merge, or discard this patch.