@@ -216,7 +216,7 @@ discard block |
||
| 216 | 216 | |
| 217 | 217 | /** |
| 218 | 218 | * Load the ICU culture data for the specific culture identifier. |
| 219 | - * @param string $culture the culture identifier. |
|
| 219 | + * @param string $cultureName the culture identifier. |
|
| 220 | 220 | */ |
| 221 | 221 | protected function loadCultureData($cultureName) |
| 222 | 222 | { |
@@ -468,7 +468,6 @@ discard block |
||
| 468 | 468 | * Simplify a single element array into its own value. |
| 469 | 469 | * E.g. <code>array(0 => array('hello'), 1 => 'world');</code> |
| 470 | 470 | * becomes <code>array(0 => 'hello', 1 => 'world');</code> |
| 471 | - * @param array $array with single elements arrays |
|
| 472 | 471 | * @return array simplified array. |
| 473 | 472 | */ |
| 474 | 473 | protected function simplify($obj) |
@@ -541,7 +540,7 @@ discard block |
||
| 541 | 540 | |
| 542 | 541 | /** |
| 543 | 542 | * Get a list of timezones in the language of the localized version. |
| 544 | - * @return array list of localized timezones. |
|
| 543 | + * @return string[] list of localized timezones. |
|
| 545 | 544 | */ |
| 546 | 545 | public function getTimeZones() |
| 547 | 546 | { |
@@ -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 | { |
@@ -595,7 +595,7 @@ discard block |
||
| 595 | 595 | } |
| 596 | 596 | |
| 597 | 597 | /** |
| 598 | - * @return DateTimeFormatInfo date time format information for the current culture. |
|
| 598 | + * @return CultureInfo date time format information for the current culture. |
|
| 599 | 599 | */ |
| 600 | 600 | protected function getLocalizedCalendarInfo() |
| 601 | 601 | { |
@@ -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 | { |
@@ -755,7 +755,7 @@ discard block |
||
| 755 | 755 | * Returns the localized month names that depends on the month format pattern. |
| 756 | 756 | * "MMMM" will return the month names, "MM" or "MMM" return abbr. month names |
| 757 | 757 | * and "M" return month digits. |
| 758 | - * @param DateTimeFormatInfo $info localized date format information. |
|
| 758 | + * @param CultureInfo $info localized date format information. |
|
| 759 | 759 | * @return array localized month names. |
| 760 | 760 | */ |
| 761 | 761 | protected function getLocalizedMonthNames($info) |