diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2013-12-06 07:42:36 -0800 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2013-12-06 07:42:36 -0800 |
commit | c91dc2292f4fd49a3103691cb70fee8336c6aa6c (patch) | |
tree | 578d41f25a0ce7b37ab3b7c9d2aa1992ca91b0c0 /include/function.h | |
parent | 3750e24683f3a1d0b643e9808d9619db40d31cc4 (diff) |
Global variables are now accessible via Php::globals["varname"]
Diffstat (limited to 'include/function.h')
-rw-r--r-- | include/function.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/function.h b/include/function.h index 3704ce8..d2461ef 100644 --- a/include/function.h +++ b/include/function.h @@ -94,11 +94,10 @@ public: /** * Method that gets called every time the function is executed - * @param environment Environment object * @param params The parameters that were passed * @return Variable Return value */ - virtual Value invoke(Environment &environment, Parameters ¶ms) + virtual Value invoke(Parameters ¶ms) { return nullptr; } |