Test Failed
Push — intl ( 00087a...e65f29 )
by Fabio
05:55
created
framework/Web/UI/TTemplateManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
 
71 71
 	/**
72 72
 	 * Loads the template from the specified file.
73
-	 * @param mixed $fileName
73
+	 * @param string $fileName
74 74
 	 * @return ITemplate template parsed from the specified file, null if the file doesn't exist.
75 75
 	 */
76 76
 	public function getTemplateByFileName($fileName)
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/TBaseDataList.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@
 block discarded – undo
167 167
 	 * as the field name, the property value will be returned.
168 168
 	 * Otherwise, an exception will be raised.
169 169
 	 * @param mixed $data data item
170
-	 * @param mixed $field field name
170
+	 * @param string $field field name
171 171
 	 * @throws TInvalidDataValueException if the data is invalid
172 172
 	 * @return mixed data value at the specified field
173 173
 	 */
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/TBaseValidator.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
 	 * Gets the Control type for client-side validation. If new cases exists in
189 189
 	 * TBaseValidator::$_clientClass, be sure to update the corresponding
190 190
 	 * "Javascript/validation3.js" file as well.
191
-	 * @param TControl $control control to validate.
191
+	 * @param \Prado\Web\UI\TControl $control control to validate.
192 192
 	 * @return string control type for client-side validation.
193 193
 	 */
194 194
 	private function getClientControlClass($control)
@@ -272,7 +272,7 @@  discard block
 block discarded – undo
272 272
 	/**
273 273
 	 * Update the ControlToValidate component's css class depending
274 274
 	 * if the ControlCssClass property is set, and whether this is valid.
275
-	 * @return bool true if change, false otherwise.
275
+	 * @return boolean|null true if change, false otherwise.
276 276
 	 */
277 277
 	protected function updateControlCssClass()
278 278
 	{
@@ -483,7 +483,7 @@  discard block
 block discarded – undo
483 483
 	/**
484 484
 	 * @throws TConfigurationException if {@link getControlToValidate
485 485
 	 * ControlToValidate} is empty or does not point to a valid control
486
-	 * @return TControl control to be validated. Null if no control is found.
486
+	 * @return \Prado\Web\UI\TControl control to be validated. Null if no control is found.
487 487
 	 */
488 488
 	public function getValidationTarget()
489 489
 	{
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/TBulletedList.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -296,6 +296,10 @@  discard block
 block discarded – undo
296 296
 		}
297 297
 	}
298 298
 
299
+	/**
300
+	 * @param TListItem $item
301
+	 * @param integer $index
302
+	 */
299 303
 	protected function renderTextItem($writer, $item, $index)
300 304
 	{
301 305
 		if ($item->getEnabled()) {
@@ -308,6 +312,10 @@  discard block
 block discarded – undo
308 312
 		}
309 313
 	}
310 314
 
315
+	/**
316
+	 * @param TListItem $item
317
+	 * @param integer $index
318
+	 */
311 319
 	protected function renderHyperLinkItem($writer, $item, $index)
312 320
 	{
313 321
 		if (!$this->_isEnabled || !$item->getEnabled()) {
@@ -326,6 +334,10 @@  discard block
 block discarded – undo
326 334
 		$writer->renderEndTag();
327 335
 	}
328 336
 
337
+	/**
338
+	 * @param TListItem $item
339
+	 * @param integer $index
340
+	 */
329 341
 	protected function renderLinkButtonItem($writer, $item, $index)
330 342
 	{
331 343
 		if (!$this->_isEnabled || !$item->getEnabled()) {
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/TButton.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -243,7 +243,7 @@
 block discarded – undo
243 243
 	 * invoke the page's {@link TPage::validate validate} method first.
244 244
 	 * It will raise {@link onClick OnClick} and {@link onCommand OnCommand} events.
245 245
 	 * This method is mainly used by framework and control developers.
246
-	 * @param TEventParameter $param the event parameter
246
+	 * @param \Prado\Web\UI\ActiveControls\TCallbackEventParameter $param the event parameter
247 247
 	 */
248 248
 	public function raisePostBackEvent($param)
249 249
 	{
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/TCaptcha.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -449,7 +449,7 @@
 block discarded – undo
449 449
 	 * Generates the token.
450 450
 	 * @param string $publicKey public key
451 451
 	 * @param string $privateKey private key
452
-	 * @param mixed $alphabet
452
+	 * @param string $alphabet
453 453
 	 * @param int $tokenLength the length of the token
454 454
 	 * @param bool $caseSensitive whether the token is case sensitive
455 455
 	 * @return string the token generated.
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/TCheckBox.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
 	/**
127 127
 	 * Returns the value of the property that needs validation.
128
-	 * @return mixed the property value to be validated
128
+	 * @return boolean the property value to be validated
129 129
 	 */
130 130
 	public function getValidationPropertyValue()
131 131
 	{
Please login to merge, or discard this patch.
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.