@@ -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. |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | /** |
31 | 31 | * @desc Add a role |
32 | 32 | * @param string $sName |
33 | - * @return object Instance of Role |
|
33 | + * @return Role Instance of Role |
|
34 | 34 | */ |
35 | 35 | public function addRole($sName) |
36 | 36 | { |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | * @desc Add a resource |
47 | 47 | * @param string $sName |
48 | 48 | * @param array $aAllowed |
49 | - * @return object Instance of Resource |
|
49 | + * @return Resource Instance of Resource |
|
50 | 50 | */ |
51 | 51 | public function addResource($sName, array $aAllowed) |
52 | 52 | { |
@@ -254,7 +254,7 @@ discard block |
||
254 | 254 | } |
255 | 255 | |
256 | 256 | /** |
257 | - * @return mixed (string | null) Returns the keyword else if neither keyword is used, returns NULL |
|
257 | + * @return string (string | null) Returns the keyword else if neither keyword is used, returns NULL |
|
258 | 258 | */ |
259 | 259 | public function checkKeywords() |
260 | 260 | { |
@@ -317,7 +317,7 @@ discard block |
||
317 | 317 | * |
318 | 318 | * @param string $sToFind |
319 | 319 | * @param string $sContents |
320 | - * @return boolean |
|
320 | + * @return integer |
|
321 | 321 | */ |
322 | 322 | protected function find($sToFind, $sContents) |
323 | 323 | { |
@@ -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 | */ |
@@ -62,7 +62,6 @@ discard block |
||
62 | 62 | /** |
63 | 63 | * Returns the elapsed time, readable or not |
64 | 64 | * |
65 | - * @param boolean $readable Whether the result must be human readable |
|
66 | 65 | * @param string $format The format to display (printf format) |
67 | 66 | * @return string|float |
68 | 67 | */ |
@@ -76,7 +75,6 @@ discard block |
||
76 | 75 | /** |
77 | 76 | * Returns the memory usage at the end checkpoint |
78 | 77 | * |
79 | - * @param boolean $readable Whether the result must be human readable |
|
80 | 78 | * @param string $format The format to display (printf format) |
81 | 79 | * @return string|float |
82 | 80 | */ |
@@ -88,7 +86,6 @@ discard block |
||
88 | 86 | /** |
89 | 87 | * Returns the memory peak, readable or not |
90 | 88 | * |
91 | - * @param boolean $readable Whether the result must be human readable |
|
92 | 89 | * @param string $format The format to display (printf format) |
93 | 90 | * @return string|float |
94 | 91 | */ |
@@ -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) |
@@ -12,7 +12,8 @@ |
||
12 | 12 | namespace PH7\Framework\Geo\Ip; |
13 | 13 | defined('PH7') or exit('Restricted access'); |
14 | 14 | |
15 | -use GeoIp2\Database\Reader, PH7\Framework\Ip\Ip; |
|
15 | +use GeoIp2\Database\Reader; |
|
16 | +use PH7\Framework\Ip\Ip; |
|
16 | 17 | |
17 | 18 | class Geo |
18 | 19 | { |
@@ -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; |