@@ -96,7 +96,7 @@ |
||
| 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 | { |
@@ -99,6 +99,7 @@ |
||
| 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 | **/ |
@@ -180,6 +180,7 @@ |
||
| 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 | **/ |
@@ -107,7 +107,7 @@ |
||
| 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 | { |
@@ -16,7 +16,7 @@ |
||
| 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 | { |
@@ -1028,7 +1028,7 @@ |
||
| 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 | { |
@@ -10,6 +10,7 @@ discard block |
||
| 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 |
||
| 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 | { |
@@ -80,7 +80,7 @@ |
||
| 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 | { |
@@ -43,6 +43,10 @@ |
||
| 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 | } |