diff --git a/template/versions/types/methods/constructors/default.php b/template/versions/types/methods/constructors/default.php index 249f20ff..ac705863 100644 --- a/template/versions/types/methods/constructors/default.php +++ b/template/versions/types/methods/constructors/default.php @@ -38,14 +38,14 @@ public function __construct(null|arrayisValueContainer()) : ?>| $data = null) { if (null === $data || [] === $data) { -hasParent()) : ?> +hasConcreteParent()) : ?> parent::__construct(null); return; } isValueContainer()) : ?> if (!is_array($data)) { -hasParent()): ?> +hasConcreteParent()) : ?> parent::__construct(null); $this->setValue($data);