@@ -68,7 +68,7 @@ |
||
| 68 | 68 | } |
| 69 | 69 | |
| 70 | 70 | /** |
| 71 | - * @return string The request body content (usually, should be a JSON string). |
|
| 71 | + * @return resource The request body content (usually, should be a JSON string). |
|
| 72 | 72 | */ |
| 73 | 73 | public function getBody() |
| 74 | 74 | { |
@@ -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 | { |
@@ -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 | { |
@@ -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) { |