Procházet zdrojové kódy

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

Aleksandr Kuzmenko před 4 roky
rodič
revize
c9dc21c7ec
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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