Merge remote-tracking branch 'upstream/master' into social-master
[quix0rs-gnu-social.git] / plugins / Event / classes / RSVP.php
index 5c74bfee4f2e2a552f48f8faacd8690323d9ce48..0c39022b140433ccfba4a2cba5b940386a0f8bb4 100644 (file)
@@ -124,7 +124,7 @@ class RSVP extends Managed_DataObject
         print "Resuming core schema upgrade...";
     }
 
-    function saveNew($profile, $event, $verb, $options=array())
+    function saveNew(Profile $profile, $event, $verb, array $options = array())
     {
         $eventNotice = $event->getNotice();
         $options = array_merge(array('source' => 'web'), $options);
@@ -318,7 +318,7 @@ class RSVP extends Managed_DataObject
                               $this->response);
     }
 
-    static function toHTML($profile, $event, $response)
+    static function toHTML(Profile $profile, Event $event, $response)
     {
         $fmt = null;