Version 4.5.0
This commit is contained in:
1 parent
1a0c7fd3c2
commit
f79dcf067a
3791 files changed
+248032
-76372
No files matched your search
@@ -51,15 +51,15 @@ abstract class Charset
|
||||
/* Try and pick best available */
|
||||
if ( FORCE_CONVERT_METHOD === NULL )
|
||||
{
|
||||
if ( function_exists( 'mb_convert_encoding' ) )
|
||||
if ( \function_exists( 'mb_convert_encoding' ) )
|
||||
{
|
||||
self::$method = 'mb';
|
||||
}
|
||||
else if ( function_exists( 'iconv' ) )
|
||||
else if ( \function_exists( 'iconv' ) )
|
||||
{
|
||||
self::$method = 'iconv';
|
||||
}
|
||||
else if ( function_exists( 'recode_string' ) )
|
||||
else if ( \function_exists( 'recode_string' ) )
|
||||
{
|
||||
self::$method = 'recode';
|
||||
}
|
||||
@@ -103,7 +103,7 @@ abstract class Charset
|
||||
$to = strtolower($to);
|
||||
|
||||
/* Return bools, null, ints, etc. */
|
||||
if ( ! is_string( $string ) )
|
||||
if ( ! \is_string( $string ) )
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user