@@ -211,9 +211,9 @@ |
||
| 211 | 211 | * @param $key |
| 212 | 212 | * @param $values |
| 213 | 213 | * @param $selected |
| 214 | - * @param $id |
|
| 214 | + * @param string|null $id |
|
| 215 | 215 | * @param $class |
| 216 | - * @param $idx |
|
| 216 | + * @param integer $idx |
|
| 217 | 217 | * |
| 218 | 218 | * @return string |
| 219 | 219 | */ |
@@ -96,7 +96,7 @@ |
||
| 96 | 96 | * |
| 97 | 97 | * @param Smarty_Internal_Template $template |
| 98 | 98 | * |
| 99 | - * @return bool true if compiling succeeded, false if it failed |
|
| 99 | + * @return string true if compiling succeeded, false if it failed |
|
| 100 | 100 | * @throws \SmartyException |
| 101 | 101 | */ |
| 102 | 102 | public function compileTemplate(Smarty_Internal_Template $template) |
@@ -147,6 +147,9 @@ discard block |
||
| 147 | 147 | $this->configBooleanize = $this->smarty->config_booleanize; |
| 148 | 148 | } |
| 149 | 149 | |
| 150 | + /** |
|
| 151 | + * @param string $input |
|
| 152 | + */ |
|
| 150 | 153 | public function replace($input) |
| 151 | 154 | { |
| 152 | 155 | return $input; |
@@ -163,6 +166,9 @@ discard block |
||
| 163 | 166 | return $this->{'yylex' . $this->_yy_state}(); |
| 164 | 167 | } |
| 165 | 168 | |
| 169 | + /** |
|
| 170 | + * @param integer $state |
|
| 171 | + */ |
|
| 166 | 172 | public function yypushstate($state) |
| 167 | 173 | { |
| 168 | 174 | if ($this->yyTraceFILE) { |
@@ -135,7 +135,7 @@ discard block |
||
| 135 | 135 | } |
| 136 | 136 | |
| 137 | 137 | /** |
| 138 | - * @return array |
|
| 138 | + * @return string[] |
|
| 139 | 139 | */ |
| 140 | 140 | private function getAdminAvatarDetails() |
| 141 | 141 | { |
@@ -147,7 +147,7 @@ discard block |
||
| 147 | 147 | } |
| 148 | 148 | |
| 149 | 149 | /** |
| 150 | - * @return array |
|
| 150 | + * @return string[] |
|
| 151 | 151 | */ |
| 152 | 152 | private function getGhostAvatarDetails() |
| 153 | 153 | { |
@@ -355,7 +355,7 @@ |
||
| 355 | 355 | * @param string $sToFind |
| 356 | 356 | * @param string $sContents |
| 357 | 357 | * |
| 358 | - * @return bool |
|
| 358 | + * @return integer |
|
| 359 | 359 | */ |
| 360 | 360 | private function find($sToFind, $sContents) |
| 361 | 361 | { |
@@ -104,7 +104,7 @@ |
||
| 104 | 104 | * @param string $sMessage |
| 105 | 105 | * @param string $sCreatedDate |
| 106 | 106 | * |
| 107 | - * @return bool|int Returns the ID of the message on success or FALSE on failure. |
|
| 107 | + * @return integer Returns the ID of the message on success or FALSE on failure. |
|
| 108 | 108 | */ |
| 109 | 109 | public function sendMsg($iSender, $iRecipient, $sTitle, $sMessage, $sCreatedDate) |
| 110 | 110 | { |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | * @param int $iOffset |
| 23 | 23 | * @param int $iLimit |
| 24 | 24 | * @param string $sOrder A constant: SearchCoreModel::CREATED (default value) or SearchCoreModel::UPDATED |
| 25 | - * @param int|null $iApproved (0 = Unmoderated | 1 = Approved | NULL = unmoderated and approved) |
|
| 25 | + * @param integer $iApproved (0 = Unmoderated | 1 = Approved | NULL = unmoderated and approved) |
|
| 26 | 26 | * |
| 27 | 27 | * @return array |
| 28 | 28 | */ |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | /** |
| 62 | 62 | * Gets total note posts. |
| 63 | 63 | * |
| 64 | - * @param int|null $iApproved (0 = Unmoderated | 1 = Approved | NULL = unmoderated and approved) Default 1 |
|
| 64 | + * @param integer $iApproved (0 = Unmoderated | 1 = Approved | NULL = unmoderated and approved) Default 1 |
|
| 65 | 65 | * @param int $iDay Default 0 |
| 66 | 66 | * |
| 67 | 67 | * @return int |
@@ -57,7 +57,7 @@ |
||
| 57 | 57 | * @param int $iOffset |
| 58 | 58 | * @param int $iLimit |
| 59 | 59 | * |
| 60 | - * @return array|\stdClass|bool |
|
| 60 | + * @return string |
|
| 61 | 61 | */ |
| 62 | 62 | public function getTopic($sForumName, $iForumId, $sTopicSubject, $iTopicId, $iProfileId, $sApproved, $iOffset, $iLimit) |
| 63 | 63 | { |
@@ -140,7 +140,7 @@ |
||
| 140 | 140 | /** |
| 141 | 141 | * Check if Apache's mod_rewrite is installed. |
| 142 | 142 | * |
| 143 | - * @return bool |
|
| 143 | + * @return null|boolean |
|
| 144 | 144 | */ |
| 145 | 145 | public static function isRewriteMod() |
| 146 | 146 | { |