Test Setup Failed
Push — fix_683 ( 1369c9 )
by Fabio
08:32
created
framework/Web/UI/WebControls/TCustomValidator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@
 block discarded – undo
107 107
 	}
108 108
 
109 109
 	/**
110
-	 * @return TControl control to be validated. Null if no control is found.
110
+	 * @return \Prado\Web\UI\TControl|null control to be validated. Null if no control is found.
111 111
 	 */
112 112
 	public function getValidationTarget()
113 113
 	{
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/TDataGridItem.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
 	}
70 70
 
71 71
 	/**
72
-	 * @return TListItemType item type.
72
+	 * @return string item type.
73 73
 	 */
74 74
 	public function getItemType()
75 75
 	{
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/TRadioButtonList.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
 
38 38
 	/**
39 39
 	 * Creates a control used for repetition (used as a template).
40
-	 * @return TControl the control to be repeated
40
+	 * @return TRadioButtonItem the control to be repeated
41 41
 	 */
42 42
 	protected function createRepeatedControl()
43 43
 	{
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/TDropDownList.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/TSlider.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -182,7 +182,7 @@
 block discarded – undo
182 182
 	 * Returns the value of the TSlider control.
183 183
 	 * This method is required by {@link \Prado\IDataRenderer}.
184 184
 	 * It is the same as {@link getValue()}.
185
-	 * @return string the value of the TSlider control.
185
+	 * @return double the value of the TSlider control.
186 186
 	 * @see getValue
187 187
 	 */
188 188
 	public function getData()
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -483,7 +483,7 @@
 block discarded – undo
483 483
 				$step = ($maxValue - $minValue) / self::MAX_STEPS;
484 484
 			}
485 485
 			$values = [];
486
-			for ($i = $minValue;$i <= $maxValue;$i += $step) {
486
+			for ($i = $minValue; $i <= $maxValue; $i += $step) {
487 487
 				$values[] = $i;
488 488
 			}
489 489
 			// Add max if it's not in the array because of step
Please login to merge, or discard this patch.
framework/Web/UI/WebControls/THiddenField.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/TListBox.php 2 patches
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.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@
 block discarded – undo
116 116
 			$flag = false;
117 117
 			if ($n === count($list2)) {
118 118
 				sort($list, SORT_NUMERIC);
119
-				for ($i = 0;$i < $n;++$i) {
119
+				for ($i = 0; $i < $n; ++$i) {
120 120
 					if ($list[$i] !== $list2[$i]) {
121 121
 						$flag = true;
122 122
 						break;
Please login to merge, or discard this patch.
framework/I18N/core/MessageSource_XLIFF.php 3 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
 namespace Prado\I18N\core;
20 20
 
21 21
 use DOMDocument;
22
-use DOMXPath;
23 22
 use Prado\Exceptions\TException;
24 23
 use Prado\Exceptions\TIOException;
25 24
 
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -523,7 +523,7 @@
 block discarded – undo
523 523
   </body>
524 524
  </file>
525 525
 </xliff>
526
-EOD;
526
+eod;
527 527
 		return $xml;
528 528
 	}
529 529
 }
Please login to merge, or discard this patch.
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -468,6 +468,9 @@
 block discarded – undo
468 468
 		return false;
469 469
 	}
470 470
 
471
+	/**
472
+	 * @param string $catalogue
473
+	 */
471 474
 	protected function createMessageTemplate($catalogue)
472 475
 	{
473 476
 		if ($catalogue === null) {
Please login to merge, or discard this patch.
framework/Data/ActiveRecord/Scaffold/InputBuilder/TScaffoldInputCommon.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -66,6 +66,9 @@
 block discarded – undo
66 66
 		return $control;
67 67
 	}
68 68
 
69
+	/**
70
+	 * @return string
71
+	 */
69 72
 	protected function getDefaultControlValue($container, $column, $record)
70 73
 	{
71 74
 		$control = $container->findControl(self::DEFAULT_ID);
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -172,11 +172,11 @@
 block discarded – undo
172 172
 	{
173 173
 		$value = $this->getRecordPropertyValue($column, $record);
174 174
 		$hours = [];
175
-		for ($i = 0;$i < 24;$i++) {
175
+		for ($i = 0; $i < 24; $i++) {
176 176
 			$hours[] = str_pad($i, 2, '0', STR_PAD_LEFT);
177 177
 		}
178 178
 		$mins = [];
179
-		for ($i = 0;$i < 60;$i++) {
179
+		for ($i = 0; $i < 60; $i++) {
180 180
 			$mins[] = str_pad($i, 2, '0', STR_PAD_LEFT);
181 181
 		}
182 182
 		$hour = (int) (@date('H'));
Please login to merge, or discard this patch.