Completed
Pull Request — master (#684)
by Fabio
13:38 queued 05:43
created
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/TRepeater.php 1 patch
Doc Comments   +5 added lines, -5 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
 	{
@@ -759,7 +759,7 @@  discard block
 block discarded – undo
759 759
 	 * as the field name, the property value will be returned.
760 760
 	 * Otherwise, an exception will be raised.
761 761
 	 * @param mixed $data data item
762
-	 * @param mixed $field field name
762
+	 * @param string $field field name
763 763
 	 * @throws TInvalidDataValueException if the data is invalid
764 764
 	 * @return mixed data value at the specified field
765 765
 	 */
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.
framework/Wsat/TWsatARGenerator.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -205,6 +205,10 @@
 block discarded – undo
205 205
 		return $code;
206 206
 	}
207 207
 
208
+	/**
209
+	 * @param string $classname
210
+	 * @param string $toString
211
+	 */
208 212
 	protected function generateClass($properties, $tablename, $classname, $toString)
209 213
 	{
210 214
 		$props = implode("\n", $properties);
Please login to merge, or discard this patch.
framework/Xml/TXmlDocument.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -235,7 +235,7 @@
 block discarded – undo
235 235
 
236 236
 	/**
237 237
 	 * Recursively converts DOM XML nodes into TXmlElement
238
-	 * @param DOMXmlNode $node the node to be converted
238
+	 * @param \DOMElement $node the node to be converted
239 239
 	 * @return TXmlElement the converted TXmlElement
240 240
 	 */
241 241
 	protected function buildElement($node)
Please login to merge, or discard this patch.