Completed
Push — 0.3 ( da43ab...625b56 )
by Ben
96:17 queued 52:29
created
src/Pages/PageManager.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -87,11 +87,11 @@
 block discarded – undo
87 87
         return parent::fields()->add(
88 88
             $this->pageBuilderField(),
89 89
             InputField::make('title')->translatable($this->model->availableLocales())
90
-                                     ->validation('required-fallback-locale|max:200', [], [
91
-                                         'trans.'.config('app.fallback_locale', 'nl').'.title' => 'title',
92
-                                     ])
93
-                                     ->label('De titel van je '.$this->model->labelSingular ?? 'pagina')
94
-                                     ->description('Dit is de titel die zal worden getoond in de overzichten en modules.'),
90
+                                        ->validation('required-fallback-locale|max:200', [], [
91
+                                            'trans.'.config('app.fallback_locale', 'nl').'.title' => 'title',
92
+                                        ])
93
+                                        ->label('De titel van je '.$this->model->labelSingular ?? 'pagina')
94
+                                        ->description('Dit is de titel die zal worden getoond in de overzichten en modules.'),
95 95
             InputField::make('seo_title')
96 96
                 ->translatable($this->model->availableLocales())
97 97
                 ->label('Zoekmachine titel'),
Please login to merge, or discard this patch.
src/Urls/UrlRecord.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -65,8 +65,8 @@  discard block
 block discarded – undo
65 65
     public static function getByModel(Model $model)
66 66
     {
67 67
         return static::where('model_type', $model->getMorphClass())
68
-                     ->where('model_id', $model->id)
69
-                     ->get();
68
+                        ->where('model_id', $model->id)
69
+                        ->get();
70 70
     }
71 71
 
72 72
     public function replaceAndRedirect(array $values): UrlRecord
@@ -119,9 +119,9 @@  discard block
 block discarded – undo
119 119
         if ($ignoredModel) {
120 120
             $builder->whereNotIn('id', function ($query) use ($ignoredModel) {
121 121
                 $query->select('id')
122
-                      ->from('chief_urls')
123
-                      ->where('model_type', '=', $ignoredModel->getMorphClass())
124
-                      ->where('model_id', '=', $ignoredModel->id);
122
+                        ->from('chief_urls')
123
+                        ->where('model_type', '=', $ignoredModel->getMorphClass())
124
+                        ->where('model_id', '=', $ignoredModel->id);
125 125
             });
126 126
         }
127 127
 
Please login to merge, or discard this patch.