@@ -107,6 +107,9 @@ discard block |
||
107 | 107 | return $ret; |
108 | 108 | } |
109 | 109 | |
110 | + /** |
|
111 | + * @param string $level |
|
112 | + */ |
|
110 | 113 | public function log($level, $text, $line = '', $file = '') { |
111 | 114 | if (function_exists('myadmin_log')) |
112 | 115 | myadmin_log('cloudlinux', $level, $text, $line, $file); |
@@ -243,7 +246,7 @@ discard block |
||
243 | 246 | * or |
244 | 247 | * Remove IP licenses with specified type for customer. Also unÂregisters from CLN server associated with IP. |
245 | 248 | * @param string $ip ip address to remove |
246 | - * @param bool|false|int $type optional parameter to specify the type of license to remove (1,2, or 16) |
|
249 | + * @param integer $type optional parameter to specify the type of license to remove (1,2, or 16) |
|
247 | 250 | * @return integer 0 on success, -1 on error, Error will be returned also if account have no licenses for provided IP. |
248 | 251 | */ |
249 | 252 | public function remove_license($ip, $type = false) { |