Completed
Pull Request — development (#2476)
by Sebastian
10:50
created
include/classes/base.class.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -55,6 +55,10 @@
 block discarded – undo
55 55
     {
56 56
         $this->smarty = $smarty;
57 57
     }
58
+
59
+    /**
60
+     * @param User $user
61
+     */
58 62
     public function setUser($user)
59 63
     {
60 64
         $this->user = $user;
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
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
    *
41 41
    * @param string $hex
42 42
    *
43
-   * @return int
43
+   * @return string
44 44
    */
45 45
   private function decodeHex($hex)
46 46
   {
@@ -274,14 +274,8 @@  discard block
 block discarded – undo
274 274
    * 	Server password
275 275
    * @param string $address
276 276
    * 	Server hostname or IP address
277
-   * @param mixed $port
278
-   * 	Server port (string or integer)
279 277
    * @param string $certificate_path
280 278
    * 	Path on the local filesystem to server's PEM certificate (ignored if $scheme != "https")
281
-   * @param int $debug_level
282
-   * 	0 (default) = no debugging;
283
-   * 	1 = echo JSON-RPC messages received to stdout;
284
-   * 	2 = log transmitted messages also
285 279
    *
286 280
    * @return jsonrpc_client
287 281
    *
@@ -312,7 +306,7 @@  discard block
 block discarded – undo
312 306
    * The check is done by calling the server's getinfo() method and checking
313 307
    * for a fault.
314 308
    *
315
-   * @return mixed boolean TRUE if successful, or a fault string otherwise
309
+   * @return string|boolean boolean TRUE if successful, or a fault string otherwise
316 310
    *
317 311
    * @throws none
318 312
    */
Please login to merge, or discard this patch.
include/classes/csrftoken.class.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
    * @param string $user user or IP/host address
27 27
    * @param string $type page name or other unique per-page identifier
28 28
    *
29
-   * @return array 1min and 1hour hashes
29
+   * @return string[] 1min and 1hour hashes
30 30
    */
31 31
   public function checkAdditional($user, $type)
32 32
   {
@@ -115,6 +115,9 @@  discard block
 block discarded – undo
115 115
       return $string;
116 116
   }
117 117
 
118
+    /**
119
+     * @param string $string
120
+     */
118 121
     private function getHash($string)
119 122
     {
120 123
         return hash('sha256', $this->salty.$string.$this->salt);
Please login to merge, or discard this patch.
include/classes/debug.class.php 1 patch
Doc Comments   -4 removed lines patch added patch discarded remove patch
@@ -81,11 +81,7 @@
 block discarded – undo
81 81
      * We fill our data array here.
82 82
      *
83 83
      * @param string $msg    Debug Message
84
-     * @param string $file   [optional] File name
85
-     * @param int    $line   [optional] Line inside the $file
86 84
      * @param int    $debug  [optional] Debugging level, default 1
87
-     * @param string $class  [optional] Class this is called from
88
-     * @param string $method [optional] Method this is called from
89 85
      *
90 86
      * @return none
91 87
      */
Please login to merge, or discard this patch.
include/classes/invitation.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
    * @param email string Email address the invite was sent to
97 97
    * @param token_id integer Token ID used during invitation
98 98
    *
99
-   * @return bool boolean True of false
99
+   * @return boolean|null boolean True of false
100 100
    **/
101 101
   public function createInvitation($account_id, $email, $token_id)
102 102
   {
Please login to merge, or discard this patch.
include/classes/monitoring.class.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -99,6 +99,7 @@
 block discarded – undo
99 99
    *
100 100
    * @param name string Name of the variable
101 101
    * @param value string Variable value
102
+   * @param string $type
102 103
    *
103 104
    * @return bool
104 105
    **/
Please login to merge, or discard this patch.
include/classes/notification.class.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -180,6 +180,7 @@
 block discarded – undo
180 180
    * Send a specific notification setup in notification_settings.
181 181
    *
182 182
    * @param type string Notification type
183
+   * @param string $strType
183 184
    *
184 185
    * @return bool
185 186
    **/
Please login to merge, or discard this patch.
include/classes/roundstats.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
    *
108 108
    * @param height int Block Height
109 109
    *
110
-   * @return data array Block information from DB
110
+   * @return null|boolean array Block information from DB
111 111
    **/
112 112
   public function getRoundStatsForAccounts($iHeight = 0)
113 113
   {
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
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
    *
17 17
    * @param none
18 18
    *
19
-   * @return data string Table name
19
+   * @return string string Table name
20 20
    **/
21 21
   public function getArchiveTableName()
22 22
   {
Please login to merge, or discard this patch.