simplify method signature - allow for future expansion of parameters, like geo-locati...
authorMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 30 Jun 2010 21:25:54 +0000 (17:25 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 1 Jul 2010 00:11:39 +0000 (20:11 -0400)
framework/Service_Twitter/lib/Horde/Service/Twitter/Statuses.php

index ffa233b..c905b00 100644 (file)
@@ -70,10 +70,11 @@ class Horde_Service_Twitter_Statuses
      *                        a mention of the author of the replied to status
      *                        (i.e. `@username`) this update will be "in reply to"
      *                        the specifed status message id.
+     * @param array $params   Any additional parameters.
      *
      * @return string
      */
-    public function update($status, $replyTo = '')
+    public function update($status, $replyTo = '', $params = array())
     {
         $url = $this->_endpoint . 'update.' . $this->_format;
         $params = array('status' => $status);