@@ -64,7 +64,7 @@ |
||
64 | 64 | * @param int $iHeight |
65 | 65 | * @param bool $bOnlyActive |
66 | 66 | * |
67 | - * @return bool|void |
|
67 | + * @return false|null |
|
68 | 68 | */ |
69 | 69 | public function ad($iWidth, $iHeight, $bOnlyActive = true) |
70 | 70 | { |
@@ -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; |
@@ -278,7 +281,7 @@ discard block |
||
278 | 281 | * |
279 | 282 | * @param string $sSwitch The check constant. |
280 | 283 | * |
281 | - * @return string Returns the constant if it is correct, otherwise an error message with exit() function. |
|
284 | + * @return integer|null Returns the constant if it is correct, otherwise an error message with exit() function. |
|
282 | 285 | */ |
283 | 286 | private function checkParam($sSwitch) |
284 | 287 | { |
@@ -167,7 +167,7 @@ discard block |
||
167 | 167 | * |
168 | 168 | * @param bool $bPrint Default FALSE |
169 | 169 | * |
170 | - * @return bool|int|float|string|array|object Returns the converted cache value if successful, FALSE otherwise. |
|
170 | + * @return \stdClass Returns the converted cache value if successful, FALSE otherwise. |
|
171 | 171 | */ |
172 | 172 | public function get($bPrint = false) |
173 | 173 | { |
@@ -185,7 +185,7 @@ discard block |
||
185 | 185 | * |
186 | 186 | * @param string $sData |
187 | 187 | * |
188 | - * @return string|null|self If the cache is disabled, returns null, otherwise returns this class. |
|
188 | + * @return null|Cache If the cache is disabled, returns null, otherwise returns this class. |
|
189 | 189 | */ |
190 | 190 | public function put($sData) |
191 | 191 | { |
@@ -135,7 +135,7 @@ |
||
135 | 135 | * |
136 | 136 | * @param integer $iWaitTime |
137 | 137 | * |
138 | - * @return integer |
|
138 | + * @return string |
|
139 | 139 | */ |
140 | 140 | private static function _getTimeText($iWaitTime) |
141 | 141 | { |
@@ -567,7 +567,7 @@ |
||
567 | 567 | * |
568 | 568 | * @param type |
569 | 569 | * |
570 | - * @return type |
|
570 | + * @return string |
|
571 | 571 | */ |
572 | 572 | protected function _compact_exploded_words($matches) |
573 | 573 | { |
@@ -81,6 +81,9 @@ discard block |
||
81 | 81 | } |
82 | 82 | } |
83 | 83 | |
84 | + /** |
|
85 | + * @param integer $bytes |
|
86 | + */ |
|
84 | 87 | function read($bytes) |
85 | 88 | { |
86 | 89 | return $this->STREAM->read($bytes); |
@@ -90,6 +93,7 @@ discard block |
||
90 | 93 | * Reads an array of Integers from the Stream |
91 | 94 | * |
92 | 95 | * @param int count How many elements should be read |
96 | + * @param integer $count |
|
93 | 97 | * |
94 | 98 | * @return Array of Integers |
95 | 99 | */ |
@@ -109,6 +113,7 @@ discard block |
||
109 | 113 | * |
110 | 114 | * @param object Reader the StreamReader object |
111 | 115 | * @param boolean enable_cache Enable or disable caching of strings (default on) |
116 | + * @param FileReader|null $Reader |
|
112 | 117 | */ |
113 | 118 | public function __construct($Reader, $enable_cache = true) |
114 | 119 | { |
@@ -186,6 +191,7 @@ discard block |
||
186 | 191 | * @access private |
187 | 192 | * |
188 | 193 | * @param int num Offset number of original string |
194 | + * @param integer $num |
|
189 | 195 | * |
190 | 196 | * @return string Requested string if found, otherwise '' |
191 | 197 | */ |
@@ -206,6 +212,7 @@ discard block |
||
206 | 212 | * @access private |
207 | 213 | * |
208 | 214 | * @param int num Offset number of original string |
215 | + * @param integer $num |
|
209 | 216 | * |
210 | 217 | * @return string Requested string if found, otherwise '' |
211 | 218 | */ |
@@ -299,6 +306,7 @@ discard block |
||
299 | 306 | * Sanitize plural form expression for use in PHP eval call. |
300 | 307 | * |
301 | 308 | * @access private |
309 | + * @param string $expr |
|
302 | 310 | * @return string sanitized plural form expression |
303 | 311 | */ |
304 | 312 | function sanitize_plural_expression($expr) |
@@ -407,8 +415,9 @@ discard block |
||
407 | 415 | * @param string single |
408 | 416 | * @param string plural |
409 | 417 | * @param string number |
418 | + * @param string $single |
|
410 | 419 | * |
411 | - * @return translated plural form |
|
420 | + * @return string plural form |
|
412 | 421 | */ |
413 | 422 | function ngettext($single, $plural, $number) |
414 | 423 | { |
@@ -18,8 +18,10 @@ |
||
18 | 18 | /** |
19 | 19 | * Get Advertisements in the database. |
20 | 20 | * |
21 | - * @param int|null $mActive 1 = active otherwise null. Default value is 1. |
|
21 | + * @param integer $mActive 1 = active otherwise null. Default value is 1. |
|
22 | 22 | * @param string $sTable The table. |
23 | + * @param integer $iOffset |
|
24 | + * @param integer $iLimit |
|
23 | 25 | * |
24 | 26 | * @return array The advertisements data. |
25 | 27 | */ |