From 67778e13ce3485c065df591ff092285b916b24ce Mon Sep 17 00:00:00 2001 From: Matan Bareket Date: Tue, 22 Jan 2019 02:23:25 -0500 Subject: [PATCH] WEB: Fix phpdoc errors --- include/Objects/BasicObject.php | 2 +- include/XMLParser.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/include/Objects/BasicObject.php b/include/Objects/BasicObject.php index b5e40774..de57e88b 100644 --- a/include/Objects/BasicObject.php +++ b/include/Objects/BasicObject.php @@ -31,7 +31,7 @@ abstract class BasicObject * If the input array doesn't contain the numerical key 0, wrap it inside * an array. This functions operates on the data directly. * - * @param mixed &$data the input + * @param mixed $data the input */ public static function toArray(&$data) { diff --git a/include/XMLParser.php b/include/XMLParser.php index 57046a51..a790a1d2 100644 --- a/include/XMLParser.php +++ b/include/XMLParser.php @@ -96,7 +96,6 @@ class XMLParser * and link the values to the parent directly instead. * * @param string $xml the XML to parse - * @param bool $destroy_single_arrays whether to keep nested single arrays or not * @return bool|array * @access public * @since 1.0