Ver Fonte

added return type to Web.getParams

mockey há 9 anos atrás
pai
commit
b8d03a6b50
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      std/php/Web.hx

+ 1 - 1
std/php/Web.hx

@@ -32,7 +32,7 @@ class Web {
 	/**
 	/**
 		Returns the GET and POST parameters.
 		Returns the GET and POST parameters.
 	**/
 	**/
-	public static function getParams() {
+	public static function getParams() : Map<String,String> {
 		#if force_std_separator
 		#if force_std_separator
 		var a : NativeArray = untyped __php__("$_POST");
 		var a : NativeArray = untyped __php__("$_POST");
 		if(untyped __call__("get_magic_quotes_gpc"))
 		if(untyped __call__("get_magic_quotes_gpc"))