Преглед изворни кода

[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