Upgrade to 3.3.0

This commit is contained in:
Bastian Allgeier
2019-11-05 09:35:58 +01:00
parent 447a9dd266
commit a431716732
186 changed files with 3068 additions and 1458 deletions

View File

@@ -56,11 +56,11 @@ class Xml
/**
* Creates an XML string from an array
*
* @param string $props The source array
* @param string $name The name of the root element
* @param boolean $head Include the xml declaration head or not
* @param int $level The indendation level
* @return string The XML string
* @param string $props The source array
* @param string $name The name of the root element
* @param bool $head Include the xml declaration head or not
* @param int $level The indendation level
* @return string The XML string
*/
public static function create($props, string $name = 'root', bool $head = true, $level = 0): string
{
@@ -116,7 +116,7 @@ class Xml
*
* </code>
*
* @param string $string
* @param string $string
* @return string
*/
public static function decode(string $string = null): string
@@ -136,8 +136,8 @@ class Xml
*
* </code>
*
* @param string $string
* @param boolean $html True: convert to html first
* @param string $string
* @param bool $html True: convert to html first
* @return string
*/
public static function encode(string $string = null, bool $html = true): string
@@ -166,7 +166,7 @@ class Xml
/**
* Parses a XML string and returns an array
*
* @param string $xml
* @param string $xml
* @return array|false
*/
public static function parse(string $xml = null)