RSVP stricter typing

This commit is contained in:
Mikael Nordfeldth 2014-06-23 14:16:34 +02:00
parent 734287cfd3
commit 658c6ab9a8
1 changed files with 2 additions and 2 deletions

View File

@ -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);