Browse Source

ZF-7346: Fix Coding Standard Violations

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@18542 44c647ce-9c0f-0410-b52a-842ac1e357ba
sidhighwind 16 years ago
parent
commit
1550b2d77a
1 changed files with 3 additions and 3 deletions
  1. 3 3
      library/Zend/Service/Twitter.php

+ 3 - 3
library/Zend/Service/Twitter.php

@@ -396,7 +396,7 @@ class Zend_Service_Twitter extends Zend_Rest_Client
      * @throws Zend_Http_Client_Exception if HTTP request fails or times out
      * @throws Zend_Service_Twitter_Exception if message is too short or too long
      */
-    public function statusUpdate($status, $in_reply_to_status_id = null)
+    public function statusUpdate($status, $inReplyToStatusId = null)
     {
         $this->_init();
         $path = '/statuses/update.xml';
@@ -409,8 +409,8 @@ class Zend_Service_Twitter extends Zend_Rest_Client
             throw new Zend_Service_Twitter_Exception('Status must contain at least one character');
         }
         $data = array('status' => $status);
-        if (is_numeric($in_reply_to_status_id) && !empty($in_reply_to_status_id)) {
-            $data['in_reply_to_status_id'] = $in_reply_to_status_id;
+        if (is_numeric($inReplyToStatusId) && !empty($inReplyToStatusId)) {
+            $data['in_reply_to_status_id'] = $inReplyToStatusId;
         }
         //$this->status = $status;
         $response = $this->_post($path, $data);