From 273b8a6fc557444823aee8d12d202571daf5b42c Mon Sep 17 00:00:00 2001 From: Daniel Carbone Date: Fri, 12 Apr 2024 09:58:19 -0500 Subject: [PATCH] fixing a fhir type interface --- template/interfaces/phpfhir_type.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/template/interfaces/phpfhir_type.php b/template/interfaces/phpfhir_type.php index 35693f78..cdecf952 100644 --- a/template/interfaces/phpfhir_type.php +++ b/template/interfaces/phpfhir_type.php @@ -97,14 +97,14 @@ public function _isValued(): bool; * @param null|int $libxmlOpts * @return null|static */ - public static function xmlUnserialize($element = null, $type = null, ?int $libxmlOpts = getLibxmlOpts()) ? 'null' : $opts; ?>): ?self; + public static function xmlUnserialize(null|string|\DOMElement $element = null, $type = null, ?int $libxmlOpts = getLibxmlOpts()) ? 'null' : $opts; ?>): ?self; /** * @param \DOMElement|null $element * @param null|int $libxmlOpts * @return string|\DOMElement */ - public function xmlSerialize(?\DOMElement $element = null, ?int $libxmlOpts = getLibxmlOpts()) ? 'null' : $opts; ?>) -> string|\DOMElement; + public function xmlSerialize(null|\DOMElement $element = null, ?int $libxmlOpts = getLibxmlOpts()) ? 'null' : $opts; ?>): string|\DOMElement; /** * @return string