Completed
Push — master ( 7ef070...31a8e4 )
by Fabio
11:41
created
framework/Data/ActiveRecord/TActiveRecord.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -329,7 +329,7 @@  discard block
 block discarded – undo
329 329
 	/**
330 330
 	 * Gets the current Db connection, the connection object is obtained from
331 331
 	 * the TActiveRecordManager if connection is currently null.
332
-	 * @return TDbConnection current db connection for this object.
332
+	 * @return \Prado\Data\TDbConnection current db connection for this object.
333 333
 	 */
334 334
 	public function getDbConnection()
335 335
 	{
@@ -582,7 +582,7 @@  discard block
 block discarded – undo
582 582
 	 * $finder->find($criteria); //the 2nd parameter for find() is ignored.
583 583
 	 * </code>
584 584
 	 *
585
-	 * @param string|TActiveRecordCriteria $criteria SQL condition or criteria object.
585
+	 * @param TSqlCriteria $criteria SQL condition or criteria object.
586 586
 	 * @param mixed $parameters parameter values.
587 587
 	 * @return TActiveRecord matching record object. Null if no result is found.
588 588
 	 */
@@ -1065,7 +1065,7 @@  discard block
 block discarded – undo
1065 1065
 
1066 1066
 	/**
1067 1067
 	 * Return record data as JSON
1068
-	 * @return JSON
1068
+	 * @return string
1069 1069
 	 * @since 3.2.4
1070 1070
 	 */
1071 1071
 	public function toJSON()
Please login to merge, or discard this patch.
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.