Test Failed
Push — intl ( 00087a...e65f29 )
by Fabio
05:55
created
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.
framework/Web/UI/WebControls/TTabView.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
 	private $_active = false;
33 33
 
34 34
 	/**
35
-	 * @return the tag name for the view element
35
+	 * @return string tag name for the view element
36 36
 	 */
37 37
 	protected function getTagName()
38 38
 	{
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/TTextBox.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
 	/**
126 126
 	 * Returns the value to be validated.
127 127
 	 * This methid is required by \Prado\Web\UI\IValidatable interface.
128
-	 * @return mixed the value of the property to be validated.
128
+	 * @return string the value of the property to be validated.
129 129
 	 */
130 130
 	public function getValidationPropertyValue()
131 131
 	{
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/TWebControl.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
 	}
62 62
 
63 63
 	/**
64
-	 * @return whether this web control must have an id
64
+	 * @return boolean this web control must have an id
65 65
 	 */
66 66
 	public function getEnsureId()
67 67
 	{
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
 	}
252 252
 
253 253
 	/**
254
-	 * @return TDisplayStyle display style of the control, default is TDisplayStyle::Fixed
254
+	 * @return string display style of the control, default is TDisplayStyle::Fixed
255 255
 	 */
256 256
 	public function getDisplay()
257 257
 	{
Please login to merge, or discard this patch.