@@ -16,6 +16,10 @@ discard block |
||
16 | 16 | private $debug = false; |
17 | 17 | public $error = false; |
18 | 18 | |
19 | + /** |
|
20 | + * @param string $user |
|
21 | + * @param string $pass |
|
22 | + */ |
|
19 | 23 | function __construct($user, $pass, $debug = false) |
20 | 24 | { |
21 | 25 | // Store an auth key for the HTTP Authorization: header |
@@ -23,6 +27,9 @@ discard block |
||
23 | 27 | $this->debug = $debug; |
24 | 28 | } |
25 | 29 | |
30 | + /** |
|
31 | + * @param string $new_status |
|
32 | + */ |
|
26 | 33 | function update($new_status) |
27 | 34 | { |
28 | 35 | if (strlen($new_status) > 140) { |