RSVP stricter typing
This commit is contained in:
parent
734287cfd3
commit
658c6ab9a8
@ -224,12 +224,12 @@ class RSVP extends Managed_DataObject
|
|||||||
return $notice;
|
return $notice;
|
||||||
}
|
}
|
||||||
|
|
||||||
static function fromNotice($notice)
|
static function fromNotice(Notice $notice)
|
||||||
{
|
{
|
||||||
return RSVP::getKV('uri', $notice->uri);
|
return RSVP::getKV('uri', $notice->uri);
|
||||||
}
|
}
|
||||||
|
|
||||||
static function forEvent($event)
|
static function forEvent(Happening $event)
|
||||||
{
|
{
|
||||||
$keypart = sprintf('rsvp:for-event:%s', $event->id);
|
$keypart = sprintf('rsvp:for-event:%s', $event->id);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user