Franco Ponticelli %!s(int64=14) %!d(string=hai) anos
pai
achega
814ac64fa5
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      std/php/_std/Reflect.hx

+ 1 - 2
std/php/_std/Reflect.hx

@@ -74,8 +74,7 @@
 			return false;
 		if(untyped __call__("is_object", v))
 			return untyped __php__("$v instanceof _hx_anonymous") || Type.getClass(v) != null;
-		if(untyped __php__("is_string($v) && !_hx_is_lambda($v)")) return true;
-		return false;
+		return untyped __php__("is_string($v) && !_hx_is_lambda($v)");
 	}
 
 	public static function deleteField( o : Dynamic, f : String ) : Bool {