@@ -15,13 +15,12 @@ |
||
| 15 | 15 | namespace PH7; |
| 16 | 16 | defined('PH7') or exit('Restricted access'); |
| 17 | 17 | |
| 18 | -use |
|
| 19 | -PH7\Framework\Util\Various, |
|
| 20 | -PH7\Framework\Mvc\Model\DbConfig, |
|
| 21 | -PH7\Framework\Mvc\Router\Uri, |
|
| 22 | -PH7\Framework\Url\Header, |
|
| 23 | -PH7\Framework\File as F, |
|
| 24 | -PH7\Framework\Video as V; |
|
| 18 | +use PH7\Framework\Util\Various; |
|
| 19 | +use PH7\Framework\Mvc\Model\DbConfig; |
|
| 20 | +use PH7\Framework\Mvc\Router\Uri; |
|
| 21 | +use PH7\Framework\Url\Header; |
|
| 22 | +use PH7\Framework\File as F; |
|
| 23 | +use PH7\Framework\Video as V; |
|
| 25 | 24 | |
| 26 | 25 | class VideoFormProcess extends Form |
| 27 | 26 | { |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | /** |
| 41 | - * @param char $cFormat |
|
| 41 | + * @param string $cFormat |
|
| 42 | 42 | * @param string $sDate |
| 43 | 43 | * @return string |
| 44 | 44 | * @throws \PH7\Framework\Date\Exception If the date format is incorrect. |
@@ -361,7 +361,6 @@ |
||
| 361 | 361 | * For all the parameters : http://code.google.com/intl/fr-FR/apis/analytics/docs/gdata/gdataReferenceDataFeed.html |
| 362 | 362 | * |
| 363 | 363 | * @param string $metrics the metrics |
| 364 | - * @param string $uri the url of the website page (ex : /myurl/) |
|
| 365 | 364 | * |
| 366 | 365 | * @return array |
| 367 | 366 | */ |
@@ -229,6 +229,7 @@ |
||
| 229 | 229 | /** |
| 230 | 230 | * Is $c a letter, digit, underscore, dollar sign, or non-ASCII character. |
| 231 | 231 | * |
| 232 | + * @param string $c |
|
| 232 | 233 | * @return bool |
| 233 | 234 | */ |
| 234 | 235 | protected function isAlphaNum($c) |
@@ -198,6 +198,9 @@ |
||
| 198 | 198 | $this->form = $form; |
| 199 | 199 | } |
| 200 | 200 | |
| 201 | + /** |
|
| 202 | + * @param string $id |
|
| 203 | + */ |
|
| 201 | 204 | public function setID($id) |
| 202 | 205 | { |
| 203 | 206 | $this->attributes['id'] = $id; |
@@ -114,7 +114,7 @@ |
||
| 114 | 114 | * Get Time text. |
| 115 | 115 | * |
| 116 | 116 | * @param integer $iWaitTime |
| 117 | - * @return integer |
|
| 117 | + * @return string |
|
| 118 | 118 | */ |
| 119 | 119 | private static function _getTimeText($iWaitTime) |
| 120 | 120 | { |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | * Convert mod to table. |
| 48 | 48 | * |
| 49 | 49 | * @param string $Mod |
| 50 | - * @return mixed (string | void) Returns the table if it is correct. |
|
| 50 | + * @return string (string | void) Returns the table if it is correct. |
|
| 51 | 51 | * @throws \PH7\Framework\Mvc\Model\Engine\Util\Various::launchErr() If the table is not valid. |
| 52 | 52 | */ |
| 53 | 53 | public static function convertModToTable($Mod) |
@@ -119,7 +119,7 @@ discard block |
||
| 119 | 119 | * @see \PH7\Framework\Mvc\Model\Engine\Util\Various::launchErr() |
| 120 | 120 | * |
| 121 | 121 | * @param string $sTable |
| 122 | - * @return mixed (string | void) Returns the table if it is correct. |
|
| 122 | + * @return string (string | void) Returns the table if it is correct. |
|
| 123 | 123 | * @throws \PH7\Framework\Mvc\Model\Engine\Util\Various::launchErr() If the table is not valid. |
| 124 | 124 | */ |
| 125 | 125 | public static function convertTableToId($sTable) |
@@ -180,7 +180,7 @@ discard block |
||
| 180 | 180 | * @see \PH7\Framework\Mvc\Model\Engine\Util\Various::launchErr() |
| 181 | 181 | * |
| 182 | 182 | * @param string $sTable |
| 183 | - * @return mixed (string | void) Returns the table if it is correct. |
|
| 183 | + * @return string|null (string | void) Returns the table if it is correct. |
|
| 184 | 184 | * @throws \PH7\Framework\Mvc\Model\Engine\Util\Various::launchErr() If the table is not valid. |
| 185 | 185 | */ |
| 186 | 186 | public static function checkTable($sTable) |
@@ -212,7 +212,7 @@ discard block |
||
| 212 | 212 | * @see \PH7\Framework\Mvc\Model\Engine\Util\Various::launchErr() |
| 213 | 213 | * |
| 214 | 214 | * @param string $sTable |
| 215 | - * @return mixed (string | void) Returns the table if it is correct. |
|
| 215 | + * @return string|null (string | void) Returns the table if it is correct. |
|
| 216 | 216 | * @throws \PH7\Framework\Mvc\Model\Engine\Util\Various::launchErr() If the table is not valid. |
| 217 | 217 | */ |
| 218 | 218 | public static function checkModelTable($sTable) |
@@ -12,7 +12,8 @@ |
||
| 12 | 12 | namespace PH7\Framework\Mvc\Model\Engine\Util; |
| 13 | 13 | defined('PH7') or exit('Restricted access'); |
| 14 | 14 | |
| 15 | -use PH7\Framework\Mvc\Model\Engine\Db, PH7\Framework\Pattern\Statik; |
|
| 15 | +use PH7\Framework\Mvc\Model\Engine\Db; |
|
| 16 | +use PH7\Framework\Pattern\Statik; |
|
| 16 | 17 | |
| 17 | 18 | class Various |
| 18 | 19 | { |
@@ -585,7 +585,7 @@ |
||
| 585 | 585 | * things like j a v a s c r i p t |
| 586 | 586 | * |
| 587 | 587 | * @param type |
| 588 | - * @return type |
|
| 588 | + * @return string |
|
| 589 | 589 | */ |
| 590 | 590 | protected function _compact_exploded_words($matches) |
| 591 | 591 | { |
@@ -31,7 +31,6 @@ |
||
| 31 | 31 | /** |
| 32 | 32 | * Emit a signal. |
| 33 | 33 | * |
| 34 | - * @param mixed $mVar [, string $... ] |
|
| 35 | 34 | * @return string |
| 36 | 35 | */ |
| 37 | 36 | public static function emit() |