fix __call to actually return the value

pull/1207/head
Isaac Connor 2015-12-01 15:16:18 -05:00
parent 2dfa6d6bae
commit 945949ebc0
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ class Monitor {
} // end function __construct
public function __call( $fn, array $args){
if(isset($this->{$fn})){
return $fn;
return $this->{$fn};
#array_unshift($args, $this);
#call_user_func_array( $this->{$fn}, $args);
}