From d5670abdcc84ae51751062e2db17d37b0225b45b Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Mon, 6 Apr 2020 08:53:44 +0200 Subject: [PATCH] :memo: Fix PHPDoc for \MFElement::_FindNode Introduced in 4688c92e --- setup/modelfactory.class.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/modelfactory.class.inc.php b/setup/modelfactory.class.inc.php index e70851e86..14880065d 100644 --- a/setup/modelfactory.class.inc.php +++ b/setup/modelfactory.class.inc.php @@ -2019,14 +2019,14 @@ class MFElement extends Combodo\iTop\DesignElement * Find the child node matching the given node under the specified parent. * UNSAFE: may return nodes marked as _alteration="removed" * - * @param \MFElement $oParent + * @param \DOMNode $oParent * @param \MFElement $oRefNode * @param string $sSearchId * * @return \MFElement|null * @throws Exception */ - public static function _FindNode(MFElement $oParent, MFElement $oRefNode, $sSearchId = null) + public static function _FindNode(DOMNode $oParent, MFElement $oRefNode, $sSearchId = null) { $oRes = null; if ($oParent instanceof DOMDocument)