소스 검색

[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