@@ -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) |
@@ -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 | { |
@@ -585,7 +585,7 @@ |
||
| 585 | 585 | * @param DOMElement $oRoute |
| 586 | 586 | * @param array $aMatches |
| 587 | 587 | * |
| 588 | - * @return bool |
|
| 588 | + * @return integer |
|
| 589 | 589 | */ |
| 590 | 590 | private function isRewrittenUrl(DOMElement $oRoute, &$aMatches) |
| 591 | 591 | { |
@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | * Start logging template |
| 49 | 49 | * |
| 50 | 50 | * @param \Smarty_Internal_Template $template template |
| 51 | - * @param null $mode true: display false: fetch null: subtemplate |
|
| 51 | + * @param null|boolean $mode true: display false: fetch null: subtemplate |
|
| 52 | 52 | */ |
| 53 | 53 | public function start_template(Smarty_Internal_Template $template, $mode = null) |
| 54 | 54 | { |
@@ -191,7 +191,7 @@ discard block |
||
| 191 | 191 | /** |
| 192 | 192 | * Opens a window for the Smarty Debugging Console and display the data |
| 193 | 193 | * |
| 194 | - * @param Smarty_Internal_Template|Smarty $obj object to debug |
|
| 194 | + * @param Smarty_Internal_Template $obj object to debug |
|
| 195 | 195 | * @param bool $full |
| 196 | 196 | * |
| 197 | 197 | * @throws \Exception |