@@ -25,7 +25,7 @@ |
||
| 25 | 25 | * @param string $sMod |
| 26 | 26 | * @param bool $bPrint Print or Return the HTML code. |
| 27 | 27 | * |
| 28 | - * @return void |
|
| 28 | + * @return string|null |
|
| 29 | 29 | */ |
| 30 | 30 | public static function link($sMod, $bPrint = true) |
| 31 | 31 | { |
@@ -17,8 +17,10 @@ |
||
| 17 | 17 | /** |
| 18 | 18 | * Get Advertisements in the database. |
| 19 | 19 | * |
| 20 | - * @param int|null $mActive 1 = active otherwise null. Default value is 1. |
|
| 20 | + * @param integer $mActive 1 = active otherwise null. Default value is 1. |
|
| 21 | 21 | * @param string $sTable The table. |
| 22 | + * @param integer $iOffset |
|
| 23 | + * @param integer $iLimit |
|
| 22 | 24 | * |
| 23 | 25 | * @return \stdClass The advertisements data. |
| 24 | 26 | */ |
@@ -87,7 +87,7 @@ |
||
| 87 | 87 | * @param int $iRecipientId |
| 88 | 88 | * @param string $sTable |
| 89 | 89 | * |
| 90 | - * @return array|bool|float|int|object|string |
|
| 90 | + * @return integer |
|
| 91 | 91 | */ |
| 92 | 92 | public function total($iRecipientId, $sTable) |
| 93 | 93 | { |
@@ -13,6 +13,9 @@ |
||
| 13 | 13 | // Abstract Class |
| 14 | 14 | class MailCoreModel extends Framework\Mvc\Model\Engine\Model |
| 15 | 15 | { |
| 16 | + /** |
|
| 17 | + * @param string $iProfileId |
|
| 18 | + */ |
|
| 16 | 19 | public static function countUnreadMsg($iProfileId) |
| 17 | 20 | { |
| 18 | 21 | $rStmt = Db::getInstance()->prepare('SELECT COUNT(status) AS unread FROM' . Db::prefix('Messages') . |
@@ -84,7 +84,7 @@ |
||
| 84 | 84 | * @param string $sApiParams Parameters to send to the API. |
| 85 | 85 | * @param string $sApiVersion Version of the API it will use. If fails from the API server, it will ignore it. |
| 86 | 86 | * |
| 87 | - * @return void |
|
| 87 | + * @return string|boolean |
|
| 88 | 88 | */ |
| 89 | 89 | private function getApiResults($sApiUrl, $sApiParams, $sApiVersion) |
| 90 | 90 | { |
@@ -60,6 +60,9 @@ discard block |
||
| 60 | 60 | $this->sRoutePath = PH7_PATH_APP_CONFIG . 'routes/' . $this->sDefLangRoute . '.xml'; |
| 61 | 61 | } |
| 62 | 62 | |
| 63 | + /** |
|
| 64 | + * @param string $sModsDirModFolder |
|
| 65 | + */ |
|
| 63 | 66 | public function setPath($sModsDirModFolder) |
| 64 | 67 | { |
| 65 | 68 | $this->sModsDirModFolder = $sModsDirModFolder; |
@@ -277,7 +280,7 @@ discard block |
||
| 277 | 280 | * Note: This method is valid only for public methods, it is not necessary to check the private methods. |
| 278 | 281 | * @param string $sSwitch The check constant. |
| 279 | 282 | * |
| 280 | - * @return string Returns the constant if it is correct, otherwise an error message with exit() function. |
|
| 283 | + * @return integer|null Returns the constant if it is correct, otherwise an error message with exit() function. |
|
| 281 | 284 | */ |
| 282 | 285 | private function checkParam($sSwitch) |
| 283 | 286 | { |
@@ -162,7 +162,7 @@ |
||
| 162 | 162 | /** |
| 163 | 163 | * @param stdClass $oProfile |
| 164 | 164 | * |
| 165 | - * @return bool |
|
| 165 | + * @return string |
|
| 166 | 166 | */ |
| 167 | 167 | private function getBirthDate(stdClass $oProfile) |
| 168 | 168 | { |
@@ -118,7 +118,7 @@ discard block |
||
| 118 | 118 | /** |
| 119 | 119 | * Authenticate user with Twitter. |
| 120 | 120 | * |
| 121 | - * @return bool Authentication successful. |
|
| 121 | + * @return boolean|null Authentication successful. |
|
| 122 | 122 | */ |
| 123 | 123 | public function auth() |
| 124 | 124 | { |
@@ -289,7 +289,7 @@ discard block |
||
| 289 | 289 | /** |
| 290 | 290 | * Obtain an access token from Twitter. |
| 291 | 291 | * |
| 292 | - * @return bool Returns FALSE if request failed. |
|
| 292 | + * @return null|false Returns FALSE if request failed. |
|
| 293 | 293 | */ |
| 294 | 294 | private function getAccessToken() |
| 295 | 295 | { |
@@ -67,7 +67,7 @@ |
||
| 67 | 67 | } |
| 68 | 68 | |
| 69 | 69 | /** |
| 70 | - * @return int Return the love amount. |
|
| 70 | + * @return string Return the love amount. |
|
| 71 | 71 | */ |
| 72 | 72 | public function get() |
| 73 | 73 | { |