Completed
Pull Request — development (#2516)
by Sebastian
03:16
created
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.
include/classes/statistics.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1028,7 +1028,7 @@
 block discarded – undo
1028 1028
   /**
1029 1029
    * Get current PPS value.
1030 1030
    *
1031
-   * @return value double PPS Value
1031
+   * @return double double PPS Value
1032 1032
    **/
1033 1033
   public function getPPSValue()
1034 1034
   {
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
@@ -10,6 +10,7 @@  discard block
 block discarded – undo
10 10
    * Return time token was created.
11 11
    *
12 12
    * @param id int Token ID
13
+   * @param string $token
13 14
    * @param time string Creation timestamp
14 15
    **/
15 16
   public function getCreationTime($token)
@@ -111,7 +112,7 @@  discard block
 block discarded – undo
111 112
    * @param name string Name of the variable
112 113
    * @param value string Variable value
113 114
    *
114
-   * @return mixed Token string on success, false on failure
115
+   * @return string|boolean Token string on success, false on failure
115 116
    **/
116 117
   public function createToken($strType, $account_id = null)
117 118
   {
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
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
    *
81 81
    * @param url string API URL
82 82
    *
83
-   * @return data string API type
83
+   * @return string|false string API type
84 84
    **/
85 85
   private function getApiType($url)
86 86
   {
Please login to merge, or discard this patch.
include/classes/base.class.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -43,6 +43,10 @@
 block discarded – undo
43 43
   public function setSmarty($smarty) {
44 44
     $this->smarty = $smarty;
45 45
   }
46
+
47
+  /**
48
+   * @param User $user
49
+   */
46 50
   public function setUser($user) {
47 51
     $this->user = $user;
48 52
   }
Please login to merge, or discard this patch.