Completed
Pull Request — master (#5732)
by Ingo
10:29
created
core/Convert.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
 	 *
51 51
 	 * @param array|string $val String to escape, or array of strings
52 52
 	 *
53
-	 * @return array|string
53
+	 * @return string
54 54
 	 */
55 55
 	public static function raw2htmlname($val) {
56 56
 		if(is_array($val)) {
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
 	 * table, or column name. Supports encoding of multi identfiers separated by
177 177
 	 * a delimiter (e.g. ".")
178 178
 	 *
179
-	 * @param string|array $identifier The identifier to escape. E.g. 'SiteTree.Title' or list of identifiers
179
+	 * @param string $identifier The identifier to escape. E.g. 'SiteTree.Title' or list of identifiers
180 180
 	 * to be joined via the separator.
181 181
 	 * @param string $separator The string that delimits subsequent identifiers
182 182
 	 * @return string The escaped identifier. E.g. '"SiteTree"."Title"'
@@ -257,6 +257,7 @@  discard block
 block discarded – undo
257 257
 	 * call this function directly, Please use {@link Convert::xml2array()}
258 258
 	 *
259 259
 	 * @param SimpleXMLElement
260
+	 * @param SimpleXMLElement $xml
260 261
 	 *
261 262
 	 * @return mixed
262 263
 	 */
@@ -450,7 +451,7 @@  discard block
 block discarded – undo
450 451
 	 * - IDField => idField
451 452
 	 * - iDField => iDField
452 453
 	 *
453
-	 * @param $str
454
+	 * @param string $str
454 455
 	 * @return string
455 456
 	 */
456 457
 	public static function upperCamelToLowerCamel($str) {
Please login to merge, or discard this patch.