Skip to content

Commit

Permalink
Bugfixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
dim-s committed Mar 10, 2020
1 parent d4dd1d5 commit 9f5be84
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,29 @@

import php.runtime.Memory;
import php.runtime.annotation.Reflection;
import php.runtime.common.HintType;
import php.runtime.env.Environment;

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


@Reflection.Name("Object")
public class MagicSignatureClass {

@Reflection.Signature({@Arg("property")})
@Reflection.Signature({@Arg(value = "property", type = HintType.STRING)})
public Memory __get(Environment env, Memory... args){
return Memory.NULL;
}

@Reflection.Signature({@Arg("property"), @Arg("value")})
@Reflection.Signature({@Arg(value = "property", type = HintType.STRING), @Arg("value")})
public Memory __set(Environment env, Memory... args){
return Memory.NULL;
}

@Reflection.Signature({@Arg("name"), @Arg("arguments")})
@Reflection.Signature({@Arg(value = "name", type = HintType.STRING), @Arg(value = "arguments", type = HintType.ARRAY)})
public Memory __call(Environment env, Memory... args){
return Memory.NULL;
}

@Reflection.Signature({@Arg("name"), @Arg("arguments")})
@Reflection.Signature({@Arg(value = "name", type = HintType.STRING), @Arg(value = "arguments", type = HintType.ARRAY)})
public static Memory __callStatic(Environment env, Memory... args){
return Memory.NULL;
}
Expand Down

0 comments on commit 9f5be84

Please sign in to comment.