@@ -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) |
@@ -205,7 +205,6 @@ discard block |
||
| 205 | 205 | |
| 206 | 206 | /** |
| 207 | 207 | * Load the ICU culture data for the specific culture identifier. |
| 208 | - * @param string $culture the culture identifier. |
|
| 209 | 208 | */ |
| 210 | 209 | protected function loadCultureData($key) |
| 211 | 210 | { |
@@ -259,7 +258,6 @@ discard block |
||
| 259 | 258 | * Search the array for a specific value using a path separated using |
| 260 | 259 | * slash "/" separated path. e.g to find $info['hello']['world'], |
| 261 | 260 | * the path "hello/world" will return the corresponding value. |
| 262 | - * @param array $info the array for search |
|
| 263 | 261 | * @param string $path slash "/" separated array path. |
| 264 | 262 | * @return mixed the value array using the path |
| 265 | 263 | */ |
@@ -401,7 +399,6 @@ discard block |
||
| 401 | 399 | * Simplify a single element array into its own value. |
| 402 | 400 | * E.g. <code>array(0 => array('hello'), 1 => 'world');</code> |
| 403 | 401 | * becomes <code>array(0 => 'hello', 1 => 'world');</code> |
| 404 | - * @param array $array with single elements arrays |
|
| 405 | 402 | * @return array simplified array. |
| 406 | 403 | */ |
| 407 | 404 | protected function simplify($obj) |
@@ -474,7 +471,7 @@ discard block |
||
| 474 | 471 | |
| 475 | 472 | /** |
| 476 | 473 | * Get a list of timezones in the language of the localized version. |
| 477 | - * @return array list of localized timezones. |
|
| 474 | + * @return string[] list of localized timezones. |
|
| 478 | 475 | */ |
| 479 | 476 | public function getTimeZones() |
| 480 | 477 | { |