Allow non null values for element
authorCyperghost <olaf_schmitz_1@t-online.de>
Mon, 22 Jan 2024 10:49:33 +0000 (11:49 +0100)
committerOlaf Braun <info@braun-development.de>
Thu, 7 Mar 2024 15:36:44 +0000 (16:36 +0100)
wcfsetup/install/files/lib/system/html/input/node/HtmlInputNodeProcessor.class.php

index 1a23a38ff2681204a03a663b9ac979a2d1e59522..5b794e2b1e529c2e509c16d8d46acdd90bf03e0d 100644 (file)
@@ -849,7 +849,7 @@ class HtmlInputNodeProcessor extends AbstractHtmlNodeProcessor
         }
     }
 
-    private function getNonEmptyNode(?\DOMNode $element, string $property): ?\DOMNode
+    private function getNonEmptyNode(\DOMNode $element, string $property): ?\DOMNode
     {
         while ($element = $element->{$property}) {
             if (!DOMUtil::isEmpty($element)) {