@@ -483,7 +483,7 @@ discard block |
||
483 | 483 | * Loads date from drop down list data. |
484 | 484 | * @param string $key the key that can be used to retrieve data from the input data collection |
485 | 485 | * @param array $values the input data collection |
486 | - * @return array the date selected |
|
486 | + * @return string the date selected |
|
487 | 487 | */ |
488 | 488 | protected function getDateFromPostData($key, $values) |
489 | 489 | { |
@@ -647,7 +647,7 @@ discard block |
||
647 | 647 | /** |
648 | 648 | * Renders the calendar drop down list depending on the DateFormat pattern. |
649 | 649 | * @param THtmlWriter $writer the Html writer to render the drop down lists. |
650 | - * @param array $date the current selected date |
|
650 | + * @param \DateTime $date the current selected date |
|
651 | 651 | */ |
652 | 652 | protected function renderCalendarSelections($writer, $date) |
653 | 653 | { |
@@ -238,7 +238,7 @@ discard block |
||
238 | 238 | |
239 | 239 | /** |
240 | 240 | * Load the ICU culture data for the specific culture identifier. |
241 | - * @param string $culture the culture identifier. |
|
241 | + * @param string $cultureName the culture identifier. |
|
242 | 242 | */ |
243 | 243 | protected function loadCultureData($cultureName) |
244 | 244 | { |
@@ -282,6 +282,7 @@ discard block |
||
282 | 282 | * currency for "en_AU", you need to use findInfo("Currencies,true);. |
283 | 283 | * @param string $path the data you want to find. |
284 | 284 | * @param bool $merge merge the data from its parents. |
285 | + * @param string $key |
|
285 | 286 | * @return mixed the specific ICU data. |
286 | 287 | */ |
287 | 288 | public function findInfo($path='/', $merge=false, $key = null) |
@@ -487,7 +488,6 @@ discard block |
||
487 | 488 | * Simplify a single element array into its own value. |
488 | 489 | * E.g. <code>array(0 => array('hello'), 1 => 'world');</code> |
489 | 490 | * becomes <code>array(0 => 'hello', 1 => 'world');</code> |
490 | - * @param array $array with single elements arrays |
|
491 | 491 | * @return array simplified array. |
492 | 492 | */ |
493 | 493 | protected function simplify($obj) |
@@ -559,7 +559,7 @@ discard block |
||
559 | 559 | |
560 | 560 | /** |
561 | 561 | * Get a list of timezones in the language of the localized version. |
562 | - * @return array list of localized timezones. |
|
562 | + * @return string[] list of localized timezones. |
|
563 | 563 | */ |
564 | 564 | public function getTimeZones() |
565 | 565 | { |