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

@@ -144,8 +144,8 @@ class Html
*
* </code>
*
* @param string $string
* @return string The html string
* @param string $string
* @return string The html string
*/
public static function decode(string $string = null): string
{
@@ -189,9 +189,9 @@ class Html
/**
* Converts a string to a html-safe string
*
* @param string $string
* @param bool $keepTags
* @return string The html string
* @param string $string
* @param bool $keepTags
* @return string The html string
*/
public static function encode(string $string = null, bool $keepTags = false): string
{
@@ -465,7 +465,7 @@ class Html
}
// build the options query
if (!empty($options)) {
if (empty($options) === false) {
$query = '?' . http_build_query($options);
} else {
$query = '';
@@ -523,7 +523,7 @@ class Html
}
// build the options query
if (!empty($options)) {
if (empty($options) === false) {
$query = '?' . http_build_query($options);
} else {
$query = '';