@@ -18,6 +18,9 @@ discard block |
||
18 | 18 | $this->setopt(CURLOPT_USERAGENT, 'cPanel Licensing Agent (php) 3.5' ); |
19 | 19 | } |
20 | 20 | |
21 | + /** |
|
22 | + * @param integer $option |
|
23 | + */ |
|
21 | 24 | public function setopt($option, $value) { |
22 | 25 | $this->opts[$option] = $value; |
23 | 26 | } |
@@ -36,6 +39,9 @@ discard block |
||
36 | 39 | } |
37 | 40 | } |
38 | 41 | |
42 | + /** |
|
43 | + * @param string $function |
|
44 | + */ |
|
39 | 45 | private function get ($function, $args = array()) { |
40 | 46 | if (!$function) { |
41 | 47 | error_log("cPanelLicensing::get requires that a function is defined"); |