@@ -86,7 +86,7 @@ |
||
86 | 86 | /** |
87 | 87 | * Get shares statistics for round block height |
88 | 88 | * @param height int Block Height |
89 | - * @return data array Block information from DB |
|
89 | + * @return null|boolean array Block information from DB |
|
90 | 90 | **/ |
91 | 91 | public function getRoundStatsForAccounts($iHeight=0) { |
92 | 92 | $stmt = $this->mysqli->prepare(" |
@@ -12,7 +12,7 @@ |
||
12 | 12 | /** |
13 | 13 | * Fetch archive tables name for this class |
14 | 14 | * @param none |
15 | - * @return data string Table name |
|
15 | + * @return string string Table name |
|
16 | 16 | **/ |
17 | 17 | public function getArchiveTableName() { |
18 | 18 | return $this->tableArchive; |
@@ -859,7 +859,7 @@ |
||
859 | 859 | |
860 | 860 | /** |
861 | 861 | * Get current PPS value |
862 | - * @return value double PPS Value |
|
862 | + * @return double double PPS Value |
|
863 | 863 | **/ |
864 | 864 | |
865 | 865 | public function getPPSValue() { |
@@ -7,6 +7,7 @@ discard block |
||
7 | 7 | /** |
8 | 8 | * Return time token was created |
9 | 9 | * @param id int Token ID |
10 | + * @param string $token |
|
10 | 11 | * @param time string Creation timestamp |
11 | 12 | **/ |
12 | 13 | public function getCreationTime($token) { |
@@ -85,7 +86,7 @@ discard block |
||
85 | 86 | * Insert a new token |
86 | 87 | * @param name string Name of the variable |
87 | 88 | * @param value string Variable value |
88 | - * @return mixed Token string on success, false on failure |
|
89 | + * @return string|boolean Token string on success, false on failure |
|
89 | 90 | **/ |
90 | 91 | public function createToken($strType, $account_id=NULL) { |
91 | 92 | if (!$iToken_id = $this->tokentype->getTypeId($strType)) { |
@@ -68,7 +68,7 @@ |
||
68 | 68 | /** |
69 | 69 | * Detect the API to properly extract information |
70 | 70 | * @param url string API URL |
71 | - * @return data string API type |
|
71 | + * @return string|false string API type |
|
72 | 72 | **/ |
73 | 73 | private function getApiType($url) { |
74 | 74 | if (preg_match('/coinchoose.com/', $url)) { |
@@ -93,6 +93,9 @@ |
||
93 | 93 | return $string; |
94 | 94 | } |
95 | 95 | |
96 | + /** |
|
97 | + * @param string $string |
|
98 | + */ |
|
96 | 99 | private function getHash($string) { |
97 | 100 | return hash('sha256', $this->salty.$string.$this->salt); |
98 | 101 | } |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | * Convert a hex string into a (big) integer |
39 | 39 | * |
40 | 40 | * @param string $hex |
41 | - * @return int |
|
41 | + * @return string |
|
42 | 42 | * @access private |
43 | 43 | */ |
44 | 44 | private function decodeHex($hex) { |
@@ -252,14 +252,8 @@ discard block |
||
252 | 252 | * Server password |
253 | 253 | * @param string $address |
254 | 254 | * Server hostname or IP address |
255 | - * @param mixed $port |
|
256 | - * Server port (string or integer) |
|
257 | 255 | * @param string $certificate_path |
258 | 256 | * Path on the local filesystem to server's PEM certificate (ignored if $scheme != "https") |
259 | - * @param integer $debug_level |
|
260 | - * 0 (default) = no debugging; |
|
261 | - * 1 = echo JSON-RPC messages received to stdout; |
|
262 | - * 2 = log transmitted messages also |
|
263 | 257 | * @return jsonrpc_client |
264 | 258 | * @access public |
265 | 259 | * @throws BitcoinClientException |
@@ -286,7 +280,7 @@ discard block |
||
286 | 280 | * |
287 | 281 | * To turn code compatible with BTC >= 0.16, getmininginfo() method used instead of getinfo() |
288 | 282 | * |
289 | - * @return mixed boolean TRUE if successful, or a fault string otherwise |
|
283 | + * @return string|boolean boolean TRUE if successful, or a fault string otherwise |
|
290 | 284 | * @access public |
291 | 285 | * @throws none |
292 | 286 | */ |