Completed
Push — master ( 402923...3d1c18 )
by Michael
03:19
created
plugins/actions/twitter/bitly.class.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -29,6 +29,10 @@  discard block
 block discarded – undo
29 29
         'expand'
30 30
     );
31 31
 
32
+    /**
33
+     * @param string $login
34
+     * @param string $apiKey
35
+     */
32 36
     public function __construct($login, $apiKey)
33 37
     {
34 38
         $this->login        = $login;
@@ -116,6 +120,10 @@  discard block
 block discarded – undo
116 120
         return $this->process('stats', $postFields);
117 121
     }
118 122
 
123
+    /**
124
+     * @param string $action
125
+     * @param string $postFields
126
+     */
119 127
     protected function process($action, $postFields)
120 128
     {
121 129
         $ch = curl_init($this->api . $action);
@@ -136,6 +144,9 @@  discard block
 block discarded – undo
136 144
         return $response;
137 145
     }
138 146
 
147
+    /**
148
+     * @param string $format
149
+     */
139 150
     public function setReturnFormat($format)
140 151
     {
141 152
         // needed for restoration
Please login to merge, or discard this patch.