Skip to content

Commit

Permalink
Merge pull request #110 from horstoeko/Issue_108
Browse files Browse the repository at this point in the history
#108 Added missing call to libxml_clear_errors in ZugferdProfileResolver
  • Loading branch information
horstoeko authored Sep 6, 2024
2 parents dbafaab + be7780f commit 10c2296
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ZugferdProfileResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public static function resolve(string $xmlContent): array
} catch (Throwable $e) {
throw new ZugferdUnknownXmlContentException();
} finally {
libxml_clear_errors();
libxml_use_internal_errors($prevUseInternalErrors);
}

Expand Down

0 comments on commit 10c2296

Please sign in to comment.