Skip to content

Commit

Permalink
no more nulls.
Browse files Browse the repository at this point in the history
  • Loading branch information
dcarbone committed Jan 9, 2025
1 parent 3136e13 commit 4fa1ed3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions template/core/interface_type.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ public function _getValidationErrors(): array;
* @param null|string|\SimpleXMLElement $element
* @param null|static $type
* @param null|<?php echo $unserializeConfigClass->getFullyQualifiedName(true); ?> $config
* @return null|static
* @return static
*/
public static function xmlUnserialize(string|\SimpleXMLElement $element, null|<?php echo PHPFHIR_INTERFACE_TYPE; ?> $type = null, null|<?php echo PHPFHIR_ENCODING_CLASSNAME_UNSERIALIZE_CONFIG ?> $config = null): null|self;
public static function xmlUnserialize(string|\SimpleXMLElement $element, null|<?php echo PHPFHIR_INTERFACE_TYPE; ?> $type = null, null|<?php echo PHPFHIR_ENCODING_CLASSNAME_UNSERIALIZE_CONFIG ?> $config = null): self;

/**
* @param null|<?php echo $xmlWriterClass->getFullyQualifiedName(true); ?> $xw
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@
* @param string|\SimpleXMLElement $element
* @param null|<?php echo $type->getFullyQualifiedClassName(true); ?> $type
* @param null|<?php echo $unserializeConfigClass->getFullyQualifiedName(true); ?> $config
* @return null|<?php echo $type->getFullyQualifiedClassName(true); ?>
* @return <?php echo $type->getFullyQualifiedClassName(true); ?>

* @throws \Exception
*/
public static function xmlUnserialize(string|\SimpleXMLElement $element,
null|<?php echo PHPFHIR_INTERFACE_TYPE; ?> $type = null,
null|<?php echo PHPFHIR_ENCODING_CLASSNAME_UNSERIALIZE_CONFIG ?> $config = null): null|self
null|<?php echo PHPFHIR_ENCODING_CLASSNAME_UNSERIALIZE_CONFIG ?> $config = null): self
{
if (null === $config) {
$config = (new <?php echo PHPFHIR_VERSION_CLASSNAME_VERSION; ?>())->getConfig()->getUnserializeConfig();
Expand Down

0 comments on commit 4fa1ed3

Please sign in to comment.