privatefunctiondoValidateType(mixed $value): void { if(null !== $this->handlingPlaceholder && !$this->allowPlaceholders()){ $e = newInvalidTypeException(sprintf('A dynamic value is not compatible with a "%s" node type at path "%s".', static::class, $this->getPath())); $e->setPath($this->getPath());