Test Failed
Push — intl ( 00087a...e65f29 )
by Fabio
05:55
created
framework/Web/UI/WebControls/TCheckBoxList.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
 
61 61
 	/**
62 62
 	 * Creates a control used for repetition (used as a template).
63
-	 * @return TControl the control to be repeated
63
+	 * @return TCheckBoxItem the control to be repeated
64 64
 	 */
65 65
 	protected function createRepeatedControl()
66 66
 	{
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
 	 * the checkbox list itself (because the checkbox list does not have child controls.)
74 74
 	 * @param string $id control ID
75 75
 	 * @param mixed $real
76
-	 * @return TControl control being found
76
+	 * @return null|\Prado\Web\UI\TControl control being found
77 77
 	 */
78 78
 	public function findControl($id, $real = false)
79 79
 	{
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
 	}
148 148
 
149 149
 	/**
150
-	 * @return string the direction of traversing the list, defaults to 'Vertical'
150
+	 * @return TRepeatDirection the direction of traversing the list, defaults to 'Vertical'
151 151
 	 */
152 152
 	public function getRepeatDirection()
153 153
 	{
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
 	}
164 164
 
165 165
 	/**
166
-	 * @return string how the list should be displayed, using table or using line breaks. Defaults to 'Table'.
166
+	 * @return TRepeatLayout how the list should be displayed, using table or using line breaks. Defaults to 'Table'.
167 167
 	 */
168 168
 	public function getRepeatLayout()
169 169
 	{
@@ -436,7 +436,7 @@  discard block
 block discarded – undo
436 436
 	/**
437 437
 	 * Returns the value to be validated.
438 438
 	 * This methid is required by \Prado\Web\UI\IValidatable interface.
439
-	 * @return mixed the value of the property to be validated.
439
+	 * @return string the value of the property to be validated.
440 440
 	 */
441 441
 	public function getValidationPropertyValue()
442 442
 	{
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/TDataBoundControl.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -411,6 +411,9 @@
 block discarded – undo
411 411
 		return $this->_currentDataSource;
412 412
 	}
413 413
 
414
+	/**
415
+	 * @param \Traversable $data
416
+	 */
414 417
 	abstract protected function performDataBinding($data);
415 418
 
416 419
 	/**
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/TDataGrid.php 1 patch
Doc Comments   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1119,6 +1119,11 @@  discard block
 block discarded – undo
1119 1119
 		return new TDataGridItem($itemIndex, $dataSourceIndex, $itemType);
1120 1120
 	}
1121 1121
 
1122
+	/**
1123
+	 * @param integer $itemIndex
1124
+	 * @param boolean $dataBind
1125
+	 * @param TList $columns
1126
+	 */
1122 1127
 	private function createItemInternal($itemIndex, $dataSourceIndex, $itemType, $dataBind, $dataItem, $columns)
1123 1128
 	{
1124 1129
 		$item = $this->createItem($itemIndex, $dataSourceIndex, $itemType);
@@ -1192,7 +1197,7 @@  discard block
 block discarded – undo
1192 1197
 	 * Depending on the button type, a TLinkButton or a TButton may be created.
1193 1198
 	 * If it is enabled (clickable), its command name and parameter will also be set.
1194 1199
 	 * Derived classes may override this method to create additional types of buttons, such as TImageButton.
1195
-	 * @param mixed $pager the container pager instance of TActiveDatagridPager
1200
+	 * @param TDataGridPager $pager the container pager instance of TActiveDatagridPager
1196 1201
 	 * @param string $buttonType button type, either LinkButton or PushButton
1197 1202
 	 * @param bool $enabled whether the button should be enabled
1198 1203
 	 * @param string $text caption of the button
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/TDataList.php 1 patch
Doc Comments   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1131,7 +1131,7 @@  discard block
 block discarded – undo
1131 1131
 	 * This method invokes {@link createItem} to create a new datalist item.
1132 1132
 	 * @param int $itemIndex zero-based item index.
1133 1133
 	 * @param TListItemType $itemType item type
1134
-	 * @return TControl the created item, null if item is not created
1134
+	 * @return \Prado\TComponent|null the created item, null if item is not created
1135 1135
 	 */
1136 1136
 	private function createItemInternal($itemIndex, $itemType)
1137 1137
 	{
@@ -1151,7 +1151,7 @@  discard block
 block discarded – undo
1151 1151
 	 * @param int $itemIndex zero-based item index.
1152 1152
 	 * @param TListItemType $itemType item type
1153 1153
 	 * @param mixed $dataItem data to be associated with the item
1154
-	 * @return TControl the created item, null if item is not created
1154
+	 * @return \Prado\TComponent|null the created item, null if item is not created
1155 1155
 	 */
1156 1156
 	private function createItemWithDataInternal($itemIndex, $itemType, $dataItem)
1157 1157
 	{
@@ -1192,6 +1192,9 @@  discard block
 block discarded – undo
1192 1192
 		}
1193 1193
 	}
1194 1194
 
1195
+	/**
1196
+	 * @param integer $itemIndex
1197
+	 */
1195 1198
 	private function getEditItemDisplay($itemIndex)
1196 1199
 	{
1197 1200
 		if (($classPath = $this->getEditItemRenderer()) === '' && $this->_editItemTemplate === null) {
@@ -1205,7 +1208,7 @@  discard block
 block discarded – undo
1205 1208
 	 * Creates a datalist item instance based on the item type and index.
1206 1209
 	 * @param int $itemIndex zero-based item index
1207 1210
 	 * @param TListItemType $itemType item type
1208
-	 * @return TControl created datalist item
1211
+	 * @return null|\Prado\TComponent created datalist item
1209 1212
 	 */
1210 1213
 	protected function createItem($itemIndex, $itemType)
1211 1214
 	{
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/THtmlArea.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -385,6 +385,9 @@  discard block
 block discarded – undo
385 385
 		return $url;
386 386
 	}
387 387
 
388
+	/**
389
+	 * @param string $url
390
+	 */
388 391
 	protected function copyCustomPlugins($url)
389 392
 	{
390 393
 		if ($plugins = $this->getCustomPluginPath()) {
@@ -429,7 +432,7 @@  discard block
 block discarded – undo
429 432
 
430 433
 	/**
431 434
 	 * Parse additional options set in the Options property.
432
-	 * @param mixed $string
435
+	 * @param string $string
433 436
 	 * @return array additional custom options
434 437
 	 */
435 438
 	protected function parseEditorOptions($string)
@@ -453,7 +456,7 @@  discard block
 block discarded – undo
453 456
 	}
454 457
 
455 458
 	/**
456
-	 * @param mixed $culture
459
+	 * @param string $culture
457 460
 	 * @return string localized editor interface language extension.
458 461
 	 */
459 462
 	protected function getLanguageSuffix($culture)
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/THtmlArea4.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -380,7 +380,7 @@  discard block
 block discarded – undo
380 380
 
381 381
 	/**
382 382
 	 * Parse additional options set in the Options property.
383
-	 * @param mixed $string
383
+	 * @param string $string
384 384
 	 * @return array additional custom options
385 385
 	 */
386 386
 	protected function parseEditorOptions($string)
@@ -404,7 +404,7 @@  discard block
 block discarded – undo
404 404
 	}
405 405
 
406 406
 	/**
407
-	 * @param mixed $culture
407
+	 * @param string $culture
408 408
 	 * @return string localized editor interface language extension.
409 409
 	 */
410 410
 	protected function getLanguageSuffix($culture)
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/TListControl.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -262,7 +262,7 @@  discard block
 block discarded – undo
262 262
 	/**
263 263
 	 * Creates a collection object to hold list items.
264 264
 	 * This method may be overriden to create a customized collection.
265
-	 * @return TListItemCollection the collection object
265
+	 * @return \Prado\Collections\TListItemCollection the collection object
266 266
 	 */
267 267
 	protected function createListItemCollection()
268 268
 	{
@@ -738,7 +738,7 @@  discard block
 block discarded – undo
738 738
 	 * Raises OnSelectedIndexChanged event when selection is changed.
739 739
 	 * This method is invoked when the list control has its selection changed
740 740
 	 * by end-users.
741
-	 * @param TEventParameter $param event parameter
741
+	 * @param null|integer $param event parameter
742 742
 	 */
743 743
 	public function onSelectedIndexChanged($param)
744 744
 	{
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/TRatingList.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
 	}
198 198
 
199 199
 	/**
200
-	 * @param mixed $value
200
+	 * @param string $value
201 201
 	 * @return TRatingListStyle current rating style
202 202
 	 */
203 203
 	public function setCaption($value)
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
 	}
215 215
 
216 216
 	/**
217
-	 * @return TRatingListStyle current rating style
217
+	 * @return string current rating style
218 218
 	 */
219 219
 	public function getRatingStyle()
220 220
 	{
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/TReCaptcha2.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -356,11 +356,17 @@
 block discarded – undo
356 356
 		}
357 357
 	}
358 358
 
359
+	/**
360
+	 * @param \Prado\Web\UI\ActiveControls\TCallbackEventParameter $param
361
+	 */
359 362
 	public function onCallback($param)
360 363
 	{
361 364
 		$this->raiseEvent('OnCallback', $this, $param);
362 365
 	}
363 366
 
367
+	/**
368
+	 * @param \Prado\Web\UI\ActiveControls\TCallbackEventParameter $param
369
+	 */
364 370
 	public function onCallbackExpired($param)
365 371
 	{
366 372
 		$this->raiseEvent('OnCallbackExpired', $this, $param);
Please login to merge, or discard this patch.