Skip to content

Commit

Permalink
fixing a fhir type interface
Browse files Browse the repository at this point in the history
  • Loading branch information
dcarbone committed Apr 12, 2024
1 parent a229d07 commit 273b8a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions template/interfaces/phpfhir_type.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,14 @@ public function _isValued(): bool;
* @param null|int $libxmlOpts
* @return null|static
*/
public static function xmlUnserialize($element = null, <?php echo PHPFHIR_INTERFACE_TYPE; ?> $type = null, ?int $libxmlOpts = <?php echo null === ($opts = $config->getLibxmlOpts()) ? 'null' : $opts; ?>): ?self;
public static function xmlUnserialize(null|string|\DOMElement $element = null, <?php echo PHPFHIR_INTERFACE_TYPE; ?> $type = null, ?int $libxmlOpts = <?php echo null === ($opts = $config->getLibxmlOpts()) ? 'null' : $opts; ?>): ?self;

/**
* @param \DOMElement|null $element
* @param null|int $libxmlOpts
* @return string|\DOMElement
*/
public function xmlSerialize(?\DOMElement $element = null, ?int $libxmlOpts = <?php echo null === ($opts = $config->getLibxmlOpts()) ? 'null' : $opts; ?>) -> string|\DOMElement;
public function xmlSerialize(null|\DOMElement $element = null, ?int $libxmlOpts = <?php echo null === ($opts = $config->getLibxmlOpts()) ? 'null' : $opts; ?>): string|\DOMElement;

/**
* @return string
Expand Down

0 comments on commit 273b8a6

Please sign in to comment.