Skip to content

Commit

Permalink
fixing xhtml type
Browse files Browse the repository at this point in the history
  • Loading branch information
dcarbone committed Apr 24, 2024
1 parent b0bcb1f commit c63d792
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions template/types/class_xhtml.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,10 @@ public function setNode(null|string|\DOMNode $node): self

/**
* @param \DOMElement|null $element
* @param null|\<?php echo ('' === $namespace ? '' : "{$namespace}\\") . PHPFHIR_CLASSNAME_CONFIG; ?> $config
* @param null|int|\<?php echo ('' === $namespace ? '' : "{$namespace}\\") . PHPFHIR_INTERFACE_XML_SERIALIZALE_CONFIG; ?> $config XML serialization config. Supports an integer value interpreted as libxml opts for backwards compatibility.
* @return \DOMElement
*/
public function xmlSerialize(\DOMElement $element = null, null|<?php echo PHPFHIR_CLASSNAME_CONFIG ?> $config = null): \DOMElement
public function xmlSerialize(\DOMElement $element = null, null|int|<?php echo PHPFHIR_INTERFACE_XML_SERIALIZALE_CONFIG ?> $config = null): \DOMElement
{
if (null === $element) {
$dom = new \DOMDocument();
Expand Down

0 comments on commit c63d792

Please sign in to comment.