From fdefd0e9d02b01b59c42325bc3ebe3e38ccdbc5d Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Wed, 30 Jun 2010 17:25:54 -0400 Subject: [PATCH] simplify method signature - allow for future expansion of parameters, like geo-location markers. --- framework/Service_Twitter/lib/Horde/Service/Twitter/Statuses.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.11.0