We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89e2fd3 commit ed83841Copy full SHA for ed83841
src/Common/Text.php
@@ -120,7 +120,7 @@ public static function controlCharacterOOXML2PHP($value = '')
120
*/
121
public static function isUTF8($value = '')
122
{
123
- return is_string($str) && ($str === '' || preg_match('/^./su', $str) == 1);
+ return is_string($value) && ($value === '' || preg_match('/^./su', $value) == 1);
124
}
125
126
/**
0 commit comments