Skip to content

Commit 9f5be84

Browse files
committed
Bugfixes.
1 parent d4dd1d5 commit 9f5be84

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

jphp-runtime/src/php/runtime/lang/support/MagicSignatureClass.java

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,29 @@
22

33
import php.runtime.Memory;
44
import php.runtime.annotation.Reflection;
5+
import php.runtime.common.HintType;
56
import php.runtime.env.Environment;
67

78
import static php.runtime.annotation.Reflection.Arg;
89

9-
1010
@Reflection.Name("Object")
1111
public class MagicSignatureClass {
12-
13-
@Reflection.Signature({@Arg("property")})
12+
@Reflection.Signature({@Arg(value = "property", type = HintType.STRING)})
1413
public Memory __get(Environment env, Memory... args){
1514
return Memory.NULL;
1615
}
1716

18-
@Reflection.Signature({@Arg("property"), @Arg("value")})
17+
@Reflection.Signature({@Arg(value = "property", type = HintType.STRING), @Arg("value")})
1918
public Memory __set(Environment env, Memory... args){
2019
return Memory.NULL;
2120
}
2221

23-
@Reflection.Signature({@Arg("name"), @Arg("arguments")})
22+
@Reflection.Signature({@Arg(value = "name", type = HintType.STRING), @Arg(value = "arguments", type = HintType.ARRAY)})
2423
public Memory __call(Environment env, Memory... args){
2524
return Memory.NULL;
2625
}
2726

28-
@Reflection.Signature({@Arg("name"), @Arg("arguments")})
27+
@Reflection.Signature({@Arg(value = "name", type = HintType.STRING), @Arg(value = "arguments", type = HintType.ARRAY)})
2928
public static Memory __callStatic(Environment env, Memory... args){
3029
return Memory.NULL;
3130
}

0 commit comments

Comments
 (0)