Skip to content

Commit 1ad6765

Browse files
committed
Fix psalm
1 parent 306d944 commit 1ad6765

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

XmlParser.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ public function __construct($encoding = 'UTF-8') {
7878
xml_set_unparsed_entity_decl_handler($this->parser, [$this, 'handleUnparsedEntitiyDeclaration']);
7979
}
8080

81+
/**
82+
* @psalm-suppress RedundantConditionGivenDocblockType This is a workaround for an error with PHP 7.3 on
83+
* Windows and MacOs
84+
*/
8185
public function __destruct() {
8286
// Workaround for an error with php 7.3 on Windows and MacOs
8387
// remove if condition when 7.3 version not supported anymore

0 commit comments

Comments
 (0)