@@ -154,7 +154,7 @@ discard block |
||
| 154 | 154 | /** |
| 155 | 155 | * Check if file exists. |
| 156 | 156 | * |
| 157 | - * @param array|string $mFile |
|
| 157 | + * @param string $mFile |
|
| 158 | 158 | * |
| 159 | 159 | * @return bool TRUE if file exists, FALSE otherwise. |
| 160 | 160 | */ |
@@ -362,7 +362,7 @@ discard block |
||
| 362 | 362 | * @param string $sFrom File or directory. |
| 363 | 363 | * @param string $sTo File or directory. |
| 364 | 364 | * |
| 365 | - * @return int|bool Returns the last line on success, and FALSE on failure. |
|
| 365 | + * @return string|false Returns the last line on success, and FALSE on failure. |
|
| 366 | 366 | */ |
| 367 | 367 | public function systemCopy($sFrom, $sTo) |
| 368 | 368 | { |
@@ -412,7 +412,7 @@ discard block |
||
| 412 | 412 | * @param string $sFrom File or directory. |
| 413 | 413 | * @param string $sTo File or directory. |
| 414 | 414 | * |
| 415 | - * @return int|bool Returns the last line on success, and FALSE on failure. |
|
| 415 | + * @return string|false Returns the last line on success, and FALSE on failure. |
|
| 416 | 416 | */ |
| 417 | 417 | public function systemRename($sFrom, $sTo) |
| 418 | 418 | { |
@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | /** |
| 88 | 88 | * @param int $iStatus The "code" for the HTTP status. |
| 89 | 89 | * |
| 90 | - * @return string|bool $iStatus Returns the "HTTP status code" if found, FALSE otherwise. |
|
| 90 | + * @return integer $iStatus Returns the "HTTP status code" if found, FALSE otherwise. |
|
| 91 | 91 | */ |
| 92 | 92 | public static function getStatusCodes($iStatus) |
| 93 | 93 | { |
@@ -124,7 +124,7 @@ discard block |
||
| 124 | 124 | /** |
| 125 | 125 | * Set one or multiple headers. |
| 126 | 126 | * |
| 127 | - * @param string|array $mHeaders Headers to send. |
|
| 127 | + * @param string $mHeaders Headers to send. |
|
| 128 | 128 | * |
| 129 | 129 | * @throws Exception |
| 130 | 130 | */ |
@@ -188,7 +188,7 @@ discard block |
||
| 188 | 188 | * @param string $sPwd |
| 189 | 189 | * @param string $sMsg |
| 190 | 190 | * |
| 191 | - * @return bool TRUE if the authentication is correct, otherwise FALSE. |
|
| 191 | + * @return null|boolean TRUE if the authentication is correct, otherwise FALSE. |
|
| 192 | 192 | */ |
| 193 | 193 | public static function requireAuth($sUsr, $sPwd, $sMsg = 'HTTP Basic Authentication') |
| 194 | 194 | { |
@@ -105,6 +105,9 @@ |
||
| 105 | 105 | private $_fd; |
| 106 | 106 | private $_length; |
| 107 | 107 | |
| 108 | + /** |
|
| 109 | + * @param string $filename |
|
| 110 | + */ |
|
| 108 | 111 | public function __construct($filename) |
| 109 | 112 | { |
| 110 | 113 | if (file_exists($filename)) { |
@@ -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 | { |
@@ -605,7 +605,7 @@ discard block |
||
| 605 | 605 | * |
| 606 | 606 | * @see __get() |
| 607 | 607 | * |
| 608 | - * @param $sVarName string Name of a variable that is to be retrieved. |
|
| 608 | + * @param string $sVarName string Name of a variable that is to be retrieved. |
|
| 609 | 609 | * |
| 610 | 610 | * @return mixed Value of that variable. |
| 611 | 611 | */ |
@@ -827,7 +827,7 @@ discard block |
||
| 827 | 827 | /** |
| 828 | 828 | * Get the reserved variables. |
| 829 | 829 | * |
| 830 | - * @return array |
|
| 830 | + * @return string[] |
|
| 831 | 831 | */ |
| 832 | 832 | public function getReservedWords() |
| 833 | 833 | { |
@@ -886,7 +886,7 @@ discard block |
||
| 886 | 886 | /** |
| 887 | 887 | * Checks if the template file in the $this->sTemplateDirFile attribute is the main page (layout.tpl). |
| 888 | 888 | * |
| 889 | - * @return boolean |
|
| 889 | + * @return integer |
|
| 890 | 890 | */ |
| 891 | 891 | private function isMainPage() |
| 892 | 892 | { |
@@ -896,7 +896,7 @@ discard block |
||
| 896 | 896 | /** |
| 897 | 897 | * Checks if the compile file in the $this->sCompileDirFile attribute is the main page (layout.cpl.php). |
| 898 | 898 | * |
| 899 | - * @return boolean |
|
| 899 | + * @return integer |
|
| 900 | 900 | */ |
| 901 | 901 | final private function isMainCompilePage() |
| 902 | 902 | { |
@@ -906,7 +906,7 @@ discard block |
||
| 906 | 906 | /** |
| 907 | 907 | * Checks if the compile file in the $this->sCompileDirFile attribute is the XML (with XSL layout) Sitemap page (mainlayout.xsl.cpl.php). |
| 908 | 908 | * |
| 909 | - * @return boolean |
|
| 909 | + * @return integer |
|
| 910 | 910 | */ |
| 911 | 911 | final private function isXmlSitemapCompilePage() |
| 912 | 912 | { |
@@ -24,6 +24,8 @@ |
||
| 24 | 24 | * |
| 25 | 25 | * @param string|null $mActive 1 = active otherwise null. Default value is '1' |
| 26 | 26 | * @param string $sTable The table. |
| 27 | + * @param integer $iOffset |
|
| 28 | + * @param integer $iLimit |
|
| 27 | 29 | * |
| 28 | 30 | * @return array The advertisements data. |
| 29 | 31 | */ |
@@ -462,6 +462,7 @@ discard block |
||
| 462 | 462 | * |
| 463 | 463 | * @param int iProfileId |
| 464 | 464 | * @param int $iStatus Values: 0 = Offline, 1 = Online, 2 = Busy, 3 = Away |
| 465 | + * @param integer $iProfileId |
|
| 465 | 466 | * |
| 466 | 467 | * @return void |
| 467 | 468 | */ |
@@ -1083,7 +1084,7 @@ discard block |
||
| 1083 | 1084 | * @param int|null $iOffset |
| 1084 | 1085 | * @param int|null $iLimit |
| 1085 | 1086 | * |
| 1086 | - * @return array|stdClass|int Object with the users list returned or integer for the total number users returned. |
|
| 1087 | + * @return integer Object with the users list returned or integer for the total number users returned. |
|
| 1087 | 1088 | */ |
| 1088 | 1089 | public function getGeoProfiles($sCountryCode, $sCity, $bCount, $sOrder, $iOffset = null, $iLimit = null) |
| 1089 | 1090 | { |
@@ -1400,7 +1401,7 @@ discard block |
||
| 1400 | 1401 | * |
| 1401 | 1402 | * @param int|null $iGroupId Group ID. Select only the specific membership from a group ID. |
| 1402 | 1403 | * |
| 1403 | - * @return stdClass|array The membership(s) data. |
|
| 1404 | + * @return string The membership(s) data. |
|
| 1404 | 1405 | */ |
| 1405 | 1406 | public function getMemberships($iGroupId = null) |
| 1406 | 1407 | { |