summaryrefslogtreecommitdiff
path: root/include/function.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/function.h')
-rw-r--r--include/function.h3
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 &params)
+ virtual Value invoke(Parameters &params)
{
return nullptr;
}