Completed
Push — php-cs-fixer ( b6f93e...b9836a )
by Fabio
07:15
created
framework/Data/Common/Oracle/TOracleTableInfo.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
 
49 49
 	/**
50 50
 	 * @param TDbConnection database connection.
51
-	 * @return TDbCommandBuilder new command builder
51
+	 * @return TOracleCommandBuilder new command builder
52 52
 	 */
53 53
 	public function createCommandBuilder($connection)
54 54
 	{
@@ -58,6 +58,8 @@  discard block
 block discarded – undo
58 58
 	/**
59 59
 	 * @param string information array key name
60 60
 	 * @param mixed default value if information array value is null
61
+	 * @param string $name
62
+	 * @param boolean $default
61 63
 	 * @return mixed information array value.
62 64
 	 */
63 65
 	public function getInfo($name, $default = null)
Please login to merge, or discard this patch.
framework/Data/Common/TDbTableColumn.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -38,6 +38,7 @@
 block discarded – undo
38 38
 	/**
39 39
 	 * @param string information array key name
40 40
 	 * @param mixed default value if information array value is null
41
+	 * @param string $name
41 42
 	 * @return mixed information array value.
42 43
 	 */
43 44
 	protected function getInfo($name, $default = null)
Please login to merge, or discard this patch.
framework/Data/Common/TDbTableInfo.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -63,6 +63,8 @@
 block discarded – undo
63 63
 	/**
64 64
 	 * @param string information array key name
65 65
 	 * @param mixed default value if information array value is null
66
+	 * @param string $name
67
+	 * @param boolean $default
66 68
 	 * @return mixed information array value.
67 69
 	 */
68 70
 	protected function getInfo($name, $default = null)
Please login to merge, or discard this patch.
framework/Data/DataGateway/TTableGateway.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -103,6 +103,7 @@  discard block
 block discarded – undo
103 103
 
104 104
 	/**
105 105
 	 * @param TDbTableInfo table or view information.
106
+	 * @param TDbTableInfo $tableInfo
106 107
 	 */
107 108
 	protected function setTableInfo($tableInfo)
108 109
 	{
@@ -113,6 +114,7 @@  discard block
 block discarded – undo
113 114
 	/**
114 115
 	 * Sets up the command builder for the given table.
115 116
 	 * @param string table or view name.
117
+	 * @param string $tableName
116 118
 	 */
117 119
 	protected function setTableName($tableName)
118 120
 	{
@@ -224,6 +226,7 @@  discard block
 block discarded – undo
224 226
 	 *
225 227
 	 * @param string|TSqlCriteria SQL condition or criteria object.
226 228
 	 * @param mixed parameter values.
229
+	 * @param TSqlCriteria $criteria
227 230
 	 * @return array matching record object.
228 231
 	 */
229 232
 	public function find($criteria, $parameters = [])
@@ -237,6 +240,7 @@  discard block
 block discarded – undo
237 240
 	 * Accepts same parameters as find(), but returns TDbDataReader instead.
238 241
 	 * @param string|TSqlCriteria SQL condition or criteria object.
239 242
 	 * @param mixed parameter values.
243
+	 * @param TSqlCriteria $criteria
240 244
 	 * @return TDbDataReader matching records.
241 245
 	 */
242 246
 	public function findAll($criteria = null, $parameters = [])
@@ -299,6 +303,7 @@  discard block
 block discarded – undo
299 303
 	 * </code>
300 304
 	 * @param string delete condition.
301 305
 	 * @param array condition parameters.
306
+	 * @param TSqlCriteria $criteria
302 307
 	 * @return integer number of records deleted.
303 308
 	 */
304 309
 	public function deleteAll($criteria, $parameters = [])
Please login to merge, or discard this patch.
framework/Data/SqlMap/Configuration/TSqlMapStatement.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -270,6 +270,7 @@
 block discarded – undo
270 270
 	 * @param TSqlMapTypeHandlerRegistry type handler registry
271 271
 	 * @param string result class name.
272 272
 	 * @param array result data.
273
+	 * @param string $type
273 274
 	 * @return mixed result object.
274 275
 	 */
275 276
 	protected function createInstanceOf($registry, $type, $row = null)
Please login to merge, or discard this patch.
framework/Data/SqlMap/Configuration/TSqlMapXmlConfigBuilder.php 1 patch
Doc Comments   +7 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 	 * Create an instance of an object give by the attribute named 'class' in the
28 28
 	 * node and set the properties on the object given by attribute names and values.
29 29
 	 * @param SimpleXmlNode property node
30
-	 * @return Object new instance of class with class name given by 'class' attribute value.
30
+	 * @return \Prado\TComponent new instance of class with class name given by 'class' attribute value.
31 31
 	 */
32 32
 	protected function createObjectFromNode($node)
33 33
 	{
@@ -47,6 +47,7 @@  discard block
 block discarded – undo
47 47
 	 * @param Object object instance
48 48
 	 * @param SimpleXmlNode property node
49 49
 	 * @param array exception property name
50
+	 * @param \Prado\TComponent $obj
50 51
 	 */
51 52
 	protected function setObjectPropFromNode($obj, $node, $except = [])
52 53
 	{
@@ -67,6 +68,8 @@  discard block
 block discarded – undo
67 68
 	 * Gets the filename relative to the basefile.
68 69
 	 * @param string base filename
69 70
 	 * @param string relative filename
71
+	 * @param string $basefile
72
+	 * @param string $resource
70 73
 	 * @return string absolute filename.
71 74
 	 */
72 75
 	protected function getAbsoluteFilePath($basefile, $resource)
@@ -84,7 +87,7 @@  discard block
 block discarded – undo
84 87
 	/**
85 88
 	 * Load document using simple xml.
86 89
 	 * @param string filename.
87
-	 * @return SimpleXmlElement xml document.
90
+	 * @return \SimpleXMLElement xml document.
88 91
 	 */
89 92
 	protected function loadXmlDocument($filename, TSqlMapXmlConfiguration $config)
90 93
 	{
@@ -97,9 +100,10 @@  discard block
 block discarded – undo
97 100
 	}
98 101
 	/**
99 102
 	 * Get element node by ID value (try for attribute name ID as case insensitive).
100
-	 * @param SimpleXmlDocument $document
103
+	 * @param \SimpleXMLElement $document
101 104
 	 * @param string tag name.
102 105
 	 * @param string id value.
106
+	 * @param string $tag
103 107
 	 * @return SimpleXmlElement node if found, null otherwise.
104 108
 	 */
105 109
 	protected function getElementByIdValue($document, $tag, $value)
Please login to merge, or discard this patch.
framework/Data/SqlMap/DataMapper/TSqlMapPagedList.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -46,6 +46,7 @@  discard block
 block discarded – undo
46 46
 	 * @param int page size
47 47
 	 * @param mixed delegate for each data row retrieved.
48 48
 	 * @param int number of page to fetch on initialization
49
+	 * @param integer $pageSize
49 50
 	 */
50 51
 	public function __construct(IMappedStatement $statement, $parameter, $pageSize, $delegate = null, $page = 0)
51 52
 	{
@@ -61,6 +62,8 @@  discard block
 block discarded – undo
61 62
 	 * @param mixed query parameters
62 63
 	 * @param int page size.
63 64
 	 * @param int number of page.
65
+	 * @param IMappedStatement $statement
66
+	 * @param integer $page
64 67
 	 */
65 68
 	protected function initialize($statement, $parameter, $pageSize, $page)
66 69
 	{
Please login to merge, or discard this patch.
framework/Data/SqlMap/Statements/TCachingStatement.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -101,6 +101,10 @@
 block discarded – undo
101 101
 		return $cacheKey->getHash();
102 102
 	}
103 103
 
104
+	/**
105
+	 * @param integer $skip
106
+	 * @param integer $max
107
+	 */
104 108
 	protected function createCommand($connection, $parameter, $skip = null, $max = null)
105 109
 	{
106 110
 		return $this->_mappedStatement->getCommand()->create($this->getManager(),
Please login to merge, or discard this patch.
framework/Data/SqlMap/Statements/TMappedStatement.php 1 patch
Doc Comments   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
 	}
98 98
 
99 99
 	/**
100
-	 * @return TSqlMapper The SqlMap used by this MappedStatement
100
+	 * @return TSqlMapManager The SqlMap used by this MappedStatement
101 101
 	 */
102 102
 	public function getManager()
103 103
 	{
@@ -482,6 +482,7 @@  discard block
 block discarded – undo
482 482
 	 * @param IDbConnection database connection
483 483
 	 * @param mixed insert statement parameter
484 484
 	 * @param TSqlMapSelectKey select key statement
485
+	 * @param \Prado\Data\SqlMap\Configuration\TSqlMapSelectKey $selectKey
485 486
 	 * @return string last insert ID.
486 487
 	 */
487 488
 	protected function executeSelectKey($connection, $parameter, $selectKey)
@@ -582,6 +583,7 @@  discard block
 block discarded – undo
582 583
 	 * @param string result object class name
583 584
 	 * @param array a result set row retrieved from the database
584 585
 	 * @param object the result object, will create if necessary.
586
+	 * @param string $resultClass
585 587
 	 * @return object result object filled with data
586 588
 	 */
587 589
 	protected function fillResultClass($resultClass, $row, $resultObject)
@@ -604,6 +606,7 @@  discard block
 block discarded – undo
604 606
 	 * Apply the result to a TList or an array.
605 607
 	 * @param array a result set row retrieved from the database
606 608
 	 * @param object result object, array or list
609
+	 * @param \ArrayAccess $resultObject
607 610
 	 * @return object result filled with data.
608 611
 	 */
609 612
 	protected function fillResultArrayList($row, $resultObject)
@@ -646,6 +649,7 @@  discard block
 block discarded – undo
646 649
 	 * @param string result map name.
647 650
 	 * @param array a result set row retrieved from the database
648 651
 	 * @param object result object to fill, will create new instances if required.
652
+	 * @param string $parentGroup
649 653
 	 * @return object result object filled with data.
650 654
 	 */
651 655
 	protected function fillResultMap($resultMapName, $row, $parentGroup = null, &$resultObject = null)
@@ -785,6 +789,7 @@  discard block
 block discarded – undo
785 789
 	 * Converts the first array value to scalar value of given type.
786 790
 	 * @param array list of results
787 791
 	 * @param string scalar type.
792
+	 * @param string $type
788 793
 	 * @return mixed scalar value.
789 794
 	 */
790 795
 	protected function getScalarResult($result, $type)
Please login to merge, or discard this patch.