diff --git a/plugins/Event/classes/RSVP.php b/plugins/Event/classes/RSVP.php index 926f6b7d08..7ca29b280e 100644 --- a/plugins/Event/classes/RSVP.php +++ b/plugins/Event/classes/RSVP.php @@ -224,12 +224,12 @@ class RSVP extends Managed_DataObject return $notice; } - static function fromNotice($notice) + static function fromNotice(Notice $notice) { return RSVP::getKV('uri', $notice->uri); } - static function forEvent($event) + static function forEvent(Happening $event) { $keypart = sprintf('rsvp:for-event:%s', $event->id);