Completed
Push — master ( 7ef070...31a8e4 )
by Fabio
11:41
created
framework/Web/UI/WebControls/TRepeater.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -286,7 +286,7 @@  discard block
 block discarded – undo
286 286
 	}
287 287
 
288 288
 	/**
289
-	 * @param ITemplate $value the template for repeater items
289
+	 * @param \Prado\Web\UI\TTemplate $value the template for repeater items
290 290
 	 * @throws TInvalidDataTypeException if the input is not an {@link ITemplate} or not null.
291 291
 	 */
292 292
 	public function setItemTemplate($value)
@@ -463,7 +463,7 @@  discard block
 block discarded – undo
463 463
 	 * This method invokes {@link createItem} to create a new repeater item.
464 464
 	 * @param int $itemIndex zero-based item index.
465 465
 	 * @param TListItemType $itemType item type
466
-	 * @return TControl the created item, null if item is not created
466
+	 * @return \Prado\TComponent|null the created item, null if item is not created
467 467
 	 */
468 468
 	private function createItemInternal($itemIndex, $itemType)
469 469
 	{
@@ -483,7 +483,7 @@  discard block
 block discarded – undo
483 483
 	 * @param int $itemIndex zero-based item index.
484 484
 	 * @param TListItemType $itemType item type
485 485
 	 * @param mixed $dataItem data to be associated with the item
486
-	 * @return TControl the created item, null if item is not created
486
+	 * @return \Prado\TComponent|null the created item, null if item is not created
487 487
 	 */
488 488
 	private function createItemWithDataInternal($itemIndex, $itemType, $dataItem)
489 489
 	{
@@ -506,7 +506,7 @@  discard block
 block discarded – undo
506 506
 	 * Creates a repeater item instance based on the item type and index.
507 507
 	 * @param int $itemIndex zero-based item index
508 508
 	 * @param TListItemType $itemType item type
509
-	 * @return TControl created repeater item
509
+	 * @return null|\Prado\TComponent created repeater item
510 510
 	 */
511 511
 	protected function createItem($itemIndex, $itemType)
512 512
 	{
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/TDatePicker.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -483,7 +483,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.
framework/I18N/core/CultureInfo.php 1 patch
Doc Comments   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -205,7 +205,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 	{
Please login to merge, or discard this patch.