Prechádzať zdrojové kódy

added return type to Web.getParams

mockey 9 rokov pred
rodič
commit
b8d03a6b50
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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.
 	**/
-	public static function getParams() {
+	public static function getParams() : Map<String,String> {
 		#if force_std_separator
 		var a : NativeArray = untyped __php__("$_POST");
 		if(untyped __call__("get_magic_quotes_gpc"))