Test Failed
Push — intl ( 00087a...e65f29 )
by Fabio
05:55
created
framework/Data/ActiveRecord/TActiveRecordGateway.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -259,6 +259,9 @@
 block discarded – undo
259 259
 		return $this->getCommand($record)->findAllBySql($criteria);
260 260
 	}
261 261
 
262
+	/**
263
+	 * @param TActiveRecordCriteria $criteria
264
+	 */
262 265
 	public function findRecordsByIndex(TActiveRecord $record, $criteria, $fields, $values)
263 266
 	{
264 267
 		return $this->getCommand($record)->findAllByIndex($criteria, $fields, $values);
Please login to merge, or discard this patch.
framework/Data/ActiveRecord/TActiveRecordManager.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
 	}
75 75
 
76 76
 	/**
77
-	 * @param TDbConnection $conn default database connection
77
+	 * @param \Prado\Data\TDbConnection $conn default database connection
78 78
 	 */
79 79
 	public function setDbConnection($conn)
80 80
 	{
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
 	}
91 91
 
92 92
 	/**
93
-	 * @param null|mixed $self
93
+	 * @param \Prado\TComponent $self
94 94
 	 * @return TActiveRecordManager static instance of record manager.
95 95
 	 */
96 96
 	public static function getInstance($self = null)
Please login to merge, or discard this patch.
framework/Data/Common/Oracle/TOracleCommandBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
 	}
46 46
 	/**
47 47
 	 *
48
-	 * @param mixed $column
48
+	 * @param \Prado\Data\Common\TDbTableColumn $column
49 49
 	 * @return bool true if column can be used for LIKE searching.
50 50
 	 */
51 51
 	protected function isSearchableColumn($column)
Please login to merge, or discard this patch.
framework/Data/Common/Oracle/TOracleTableInfo.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
 
51 51
 	/**
52 52
 	 * @param TDbConnection $connection database connection.
53
-	 * @return TDbCommandBuilder new command builder
53
+	 * @return TOracleCommandBuilder new command builder
54 54
 	 */
55 55
 	public function createCommandBuilder($connection)
56 56
 	{
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 
60 60
 	/**
61 61
 	 * @param string $name information array key name
62
-	 * @param mixed $default default value if information array value is null
62
+	 * @param boolean $default default value if information array value is null
63 63
 	 * @return mixed information array value.
64 64
 	 */
65 65
 	public function getInfo($name, $default = null)
Please login to merge, or discard this patch.
framework/Data/DataGateway/TDataGatewayCommand.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -310,7 +310,7 @@  discard block
 block discarded – undo
310 310
 	/**
311 311
 	 * Build sql command from the criteria. Limit, Offset and Ordering are applied if applicable.
312 312
 	 * @param TSqlCriteria $criteria $criteria
313
-	 * @return TDbCommand command corresponding to the criteria.
313
+	 * @return TDataGatewayCommand command corresponding to the criteria.
314 314
 	 */
315 315
 	protected function getSqlCommand($criteria)
316 316
 	{
@@ -382,7 +382,7 @@  discard block
 block discarded – undo
382 382
 	 * @param string $method __call method name
383 383
 	 * @param string $condition criteria conditions
384 384
 	 * @param array $args method arguments
385
-	 * @return TActiveRecordCriteria criteria created from the method name and its arguments.
385
+	 * @return TSqlCriteria criteria created from the method name and its arguments.
386 386
 	 */
387 387
 	public function createCriteriaFromString($method, $condition, $args)
388 388
 	{
Please login to merge, or discard this patch.
framework/Data/DataGateway/TTableGateway.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -222,7 +222,7 @@
 block discarded – undo
222 222
 	 * $table->find($criteria); //the 2nd parameter for find() is ignored.
223 223
 	 * </code>
224 224
 	 *
225
-	 * @param string|TSqlCriteria $criteria SQL condition or criteria object.
225
+	 * @param TSqlCriteria $criteria SQL condition or criteria object.
226 226
 	 * @param mixed $parameters parameter values.
227 227
 	 * @return array matching record object.
228 228
 	 */
Please login to merge, or discard this patch.
framework/Data/SqlMap/Configuration/TSqlMapCacheModel.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
 	}
153 153
 
154 154
 	/**
155
-	 * @param string|TSqlMapCacheKey $key cache key
155
+	 * @param string $key cache key
156 156
 	 * @return mixed cached value.
157 157
 	 */
158 158
 	public function get($key)
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
 	}
172 172
 
173 173
 	/**
174
-	 * @param string|TSqlMapCacheKey $key cache key
174
+	 * @param string $key cache key
175 175
 	 * @param mixed $value value to be cached.
176 176
 	 */
177 177
 	public function set($key, $value)
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
 	}
187 187
 
188 188
 	/**
189
-	 * @return float cache hit ratio.
189
+	 * @return integer cache hit ratio.
190 190
 	 */
191 191
 	public function getHitRatio()
192 192
 	{
Please login to merge, or discard this patch.
framework/Data/SqlMap/Configuration/TSqlMapStatement.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
 	}
178 178
 
179 179
 	/**
180
-	 * @param TStaticSql $value sql text container.
180
+	 * @param \Prado\Data\SqlMap\Statements\TStaticSql $value sql text container.
181 181
 	 */
182 182
 	public function setSqlText($value)
183 183
 	{
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
236 236
 	}
237 237
 
238 238
 	/**
239
-	 * @param TInlineParameterMap $map parameter extracted from the sql text.
239
+	 * @param TParameterMap $map parameter extracted from the sql text.
240 240
 	 */
241 241
 	public function setInlineParameterMap($map)
242 242
 	{
Please login to merge, or discard this patch.
framework/Data/SqlMap/Configuration/TSqlMapXmlConfigBuilder.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
 	 * Create an instance of an object give by the attribute named 'class' in the
27 27
 	 * node and set the properties on the object given by attribute names and values.
28 28
 	 * @param SimpleXmlNode $node property node
29
-	 * @return Object new instance of class with class name given by 'class' attribute value.
29
+	 * @return \Prado\TComponent new instance of class with class name given by 'class' attribute value.
30 30
 	 */
31 31
 	protected function createObjectFromNode($node)
32 32
 	{
@@ -45,9 +45,9 @@  discard block
 block discarded – undo
45 45
 	 * For each attributes (excluding attribute named in $except) set the
46 46
 	 * property of the $obj given by the name of the attribute with the value
47 47
 	 * of the attribute.
48
-	 * @param object $obj object instance
48
+	 * @param \Prado\TComponent $obj object instance
49 49
 	 * @param SimpleXmlNode $node property node
50
-	 * @param array $except exception property name
50
+	 * @param string[] $except exception property name
51 51
 	 */
52 52
 	protected function setObjectPropFromNode($obj, $node, $except = [])
53 53
 	{
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
 	 * Load document using simple xml.
94 94
 	 * @param string $filename
95 95
 	 * @param TSqlMapXmlConfiguration $config
96
-	 * @return SimpleXmlElement xml document.
96
+	 * @return \SimpleXMLElement xml document.
97 97
 	 */
98 98
 	protected function loadXmlDocument($filename, TSqlMapXmlConfiguration $config)
99 99
 	{
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
 	}
111 111
 	/**
112 112
 	 * Get element node by ID value (try for attribute name ID as case insensitive).
113
-	 * @param SimpleXmlDocument $document
113
+	 * @param \SimpleXMLElement $document
114 114
 	 * @param string $tag tag name.
115 115
 	 * @param string $value id value.
116 116
 	 * @return SimpleXmlElement node if found, null otherwise.
Please login to merge, or discard this patch.