@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | /** |
| 23 | 23 | * @param string $sUrl |
| 24 | 24 | * |
| 25 | - * @return string|bool Returns the embed video URL if found, FALSE otherwise. |
|
| 25 | + * @return false|string Returns the embed video URL if found, FALSE otherwise. |
|
| 26 | 26 | */ |
| 27 | 27 | public function getVideo($sUrl) |
| 28 | 28 | { |
@@ -127,7 +127,7 @@ discard block |
||
| 127 | 127 | /** |
| 128 | 128 | * @param string $sUrl |
| 129 | 129 | * |
| 130 | - * @return int|bool Returns the ID of the video if it was found, FALSE otherwise. |
|
| 130 | + * @return string|false Returns the ID of the video if it was found, FALSE otherwise. |
|
| 131 | 131 | */ |
| 132 | 132 | public function getVideoId($sUrl) |
| 133 | 133 | { |
@@ -141,7 +141,7 @@ discard block |
||
| 141 | 141 | * |
| 142 | 142 | * @param string $sUrl |
| 143 | 143 | * |
| 144 | - * @return bool|string |
|
| 144 | + * @return false|string |
|
| 145 | 145 | */ |
| 146 | 146 | public function getEmbedUrl($sUrl) |
| 147 | 147 | { |
@@ -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 | { |