@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | /** |
| 23 | 23 | * @param string $sUrl |
| 24 | 24 | * |
| 25 | - * @return string|bool Returns the video embed URL if it was found and is valid, FALSE otherwise. |
|
| 25 | + * @return false|string Returns the video embed URL if it was found and is valid, FALSE otherwise. |
|
| 26 | 26 | */ |
| 27 | 27 | public function getVideo($sUrl) |
| 28 | 28 | { |
@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | /** |
| 71 | 71 | * @param string $sUrl |
| 72 | 72 | * |
| 73 | - * @return int|bool Returns the ID of the video if it was found, FALSE otherwise. |
|
| 73 | + * @return string|false Returns the ID of the video if it was found, FALSE otherwise. |
|
| 74 | 74 | */ |
| 75 | 75 | public function getVideoId($sUrl) |
| 76 | 76 | { |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | /** |
| 29 | 29 | * @param string $sUrl |
| 30 | 30 | * |
| 31 | - * @return string|bool Returns the embed video URL if found, FALSE otherwise. |
|
| 31 | + * @return false|string Returns the embed video URL if found, FALSE otherwise. |
|
| 32 | 32 | */ |
| 33 | 33 | public function getVideo($sUrl) |
| 34 | 34 | { |
@@ -474,6 +474,7 @@ |
||
| 474 | 474 | |
| 475 | 475 | /** |
| 476 | 476 | * Return path to ckeditor.js. |
| 477 | + * @return string |
|
| 477 | 478 | */ |
| 478 | 479 | private function ckeditorPath() |
| 479 | 480 | { |
@@ -17,7 +17,6 @@ |
||
| 17 | 17 | /** |
| 18 | 18 | * Emit a signal. |
| 19 | 19 | * |
| 20 | - * @param mixed $mVar [, string $... ] |
|
| 21 | 20 | * |
| 22 | 21 | * @return string |
| 23 | 22 | */ |
@@ -81,7 +81,7 @@ |
||
| 81 | 81 | } |
| 82 | 82 | |
| 83 | 83 | /** |
| 84 | - * @return int |
|
| 84 | + * @return string |
|
| 85 | 85 | */ |
| 86 | 86 | private function getProfileId() |
| 87 | 87 | { |
@@ -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 | { |
@@ -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 | { |
@@ -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 | { |