Преглед на файлове

[php] changed return type of mb_strlen (closes #10132)

Aleksandr Kuzmenko преди 4 години
родител
ревизия
c9dc21c7ec
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      std/php/Global.hx

+ 1 - 1
std/php/Global.hx

@@ -1177,7 +1177,7 @@ extern class Global {
 	/**
 		@see http://php.net/manual/en/function.mb-strlen.php
 	**/
-	static function mb_strlen(str:String, ?encoding:String):EitherType<Int, Bool>;
+	static function mb_strlen(str:String, ?encoding:String):Int;
 
 	/**
 		@see http://php.net/manual/en/function.mb-substr.php