Upgrade to 3.3.0
This commit is contained in:
@@ -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 = '';
|
||||
|
Reference in New Issue
Block a user