diff --git a/Config/XmlConfig/Converter.php b/Config/XmlConfig/Converter.php index 1287cba4..3bf8bcd2 100644 --- a/Config/XmlConfig/Converter.php +++ b/Config/XmlConfig/Converter.php @@ -57,8 +57,7 @@ private function toArray(DOMNode $node): array { $result = []; foreach ($node->childNodes as $childNode) { - /** @phpstan-ignore-next-line */ - if (empty($childNode)) { + if (false === $childNode instanceof DOMNode) { continue; }