Browse Source

No change (just a comment for better typing return values)

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@4846 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 7 years ago
parent
commit
8d0082b4a6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      core/designdocument.class.inc.php

+ 2 - 2
core/designdocument.class.inc.php

@@ -192,7 +192,7 @@ class DesignElement extends \DOMElement
 	 * Returns the node directly under the given node
 	 * Returns the node directly under the given node
 	 * @param $sTagName
 	 * @param $sTagName
 	 * @param bool|true $bMustExist
 	 * @param bool|true $bMustExist
-	 * @return null
+	 * @return MFElement
 	 * @throws DOMFormatException
 	 * @throws DOMFormatException
 	 */
 	 */
 	public function GetUniqueElement($sTagName, $bMustExist = true)
 	public function GetUniqueElement($sTagName, $bMustExist = true)
@@ -216,7 +216,7 @@ class DesignElement extends \DOMElement
 	/**
 	/**
 	 * Returns the node directly under the current node, or null if missing
 	 * Returns the node directly under the current node, or null if missing
 	 * @param $sTagName
 	 * @param $sTagName
-	 * @return null
+	 * @return MFElement
 	 * @throws DOMFormatException
 	 * @throws DOMFormatException
 	 */
 	 */
 	public function GetOptionalElement($sTagName)
 	public function GetOptionalElement($sTagName)