From: Michael J. Rubinsky Date: Wed, 30 Jun 2010 21:25:54 +0000 (-0400) Subject: simplify method signature - allow for future expansion of parameters, like geo-locati... X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=fdefd0e9d02b01b59c42325bc3ebe3e38ccdbc5d;p=horde.git simplify method signature - allow for future expansion of parameters, like geo-location markers. --- diff --git a/framework/Service_Twitter/lib/Horde/Service/Twitter/Statuses.php b/framework/Service_Twitter/lib/Horde/Service/Twitter/Statuses.php index ffa233b45..c905b009b 100644 --- a/framework/Service_Twitter/lib/Horde/Service/Twitter/Statuses.php +++ b/framework/Service_Twitter/lib/Horde/Service/Twitter/Statuses.php @@ -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);