Completed
Push — development ( 92ef32...3b2329 )
by Sebastian
03:01
created
include/classes/roundstats.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
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("
Please login to merge, or discard this patch.
include/classes/share.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
include/classes/statistics.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -859,7 +859,7 @@
 block discarded – undo
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() {
Please login to merge, or discard this patch.
include/classes/token.class.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,6 +7,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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)) {
Please login to merge, or discard this patch.
include/classes/tools.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
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)) {
Please login to merge, or discard this patch.
include/classes/csrftoken.class.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -93,6 +93,9 @@
 block discarded – undo
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
   }
Please login to merge, or discard this patch.
include/classes/bitcoin.class.php 1 patch
Doc Comments   +2 added lines, -8 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
    */
Please login to merge, or discard this patch.