diff --git a/src/Form/Related/Elements.php b/src/Form/Related/Elements.php index 501845090..43957e24a 100644 --- a/src/Form/Related/Elements.php +++ b/src/Form/Related/Elements.php @@ -426,7 +426,7 @@ protected function createGroup($attributes, $old = false, $key = null): Group foreach ($elements as $el) { //add custom element for in the viewport related elements - if ( $el instanceof Custom ) { + if ($el instanceof Custom) { $el->setModel($model); } $group->push($el);