aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/elgglib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index 57b8c71c8..acffe923d 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -677,7 +677,7 @@
* @param string $function The function name
* @return true|false Depending on success
*/
- function trigger_event($event, $object_type, $object = null) {
+ function trigger_event($event, $object_type, ElggEntity $object = null) {
$return = true;
$return1 = events($event, $object_type, "", null, true, $object);