]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Event/classes/RSVP.php
Merge remote-tracking branch 'upstream/master' into social-master
[quix0rs-gnu-social.git] / plugins / Event / classes / RSVP.php
index 520347eeb629a731105e4f5cb9df745ec2931ccd..c4ffc3ee340bb74ba09be17eac457161f10167e7 100644 (file)
@@ -124,7 +124,7 @@ class RSVP extends Managed_DataObject
         print "Resuming core schema upgrade...";
     }
 
         print "Resuming core schema upgrade...";
     }
 
-    function saveNew($profile, $event, $verb, $options=array())
+    function saveNew(Profile $profile, $event, $verb, array $options = array())
     {
         if (array_key_exists('uri', $options)) {
             $other = RSVP::getKV('uri', $options['uri']);
     {
         if (array_key_exists('uri', $options)) {
             $other = RSVP::getKV('uri', $options['uri']);
@@ -330,7 +330,7 @@ class RSVP extends Managed_DataObject
                               $this->response);
     }
 
                               $this->response);
     }
 
-    static function toHTML($profile, $event, $response)
+    static function toHTML(Profile $profile, Event $event, $response)
     {
         $fmt = null;
 
     {
         $fmt = null;