Completed
Push — php-cs-fixer ( b6f93e )
by Fabio
07:29
created
framework/Data/Common/Mssql/TMssqlMetaData.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -123,6 +123,7 @@
 block discarded – undo
123 123
 	/**
124 124
 	 * @param TMssqlTableInfo table information.
125 125
 	 * @param array column information.
126
+	 * @param TMssqlTableInfo $tableInfo
126 127
 	 */
127 128
 	protected function processColumn($tableInfo, $col)
128 129
 	{
Please login to merge, or discard this patch.
framework/Data/Common/Mssql/TMssqlTableColumn.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 
28 28
 	/**
29 29
 	 * Overrides parent implementation, returns PHP type from the db type.
30
-	 * @return boolean derived PHP primitive type from the column db type.
30
+	 * @return string derived PHP primitive type from the column db type.
31 31
 	 */
32 32
 	public function getPHPType()
33 33
 	{
Please login to merge, or discard this patch.
framework/Data/Common/Mysql/TMysqlMetaData.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -114,6 +114,7 @@
 block discarded – undo
114 114
 	/**
115 115
 	 * @param TMysqlTableInfo table information.
116 116
 	 * @param array column information.
117
+	 * @param TMysqlTableInfo $tableInfo
117 118
 	 */
118 119
 	protected function processColumn($tableInfo, $col)
119 120
 	{
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -160,8 +160,7 @@  discard block
 block discarded – undo
160 160
 					$info['NumericPrecision'] = intval($pscale[1]);
161 161
 					if(count($pscale) > 2)
162 162
 						$info['NumericScale'] = intval($pscale[2]);
163
-				}
164
-				else
163
+				} else
165 164
 					$info['ColumnSize'] = intval($pscale[1]);
166 165
 			}
167 166
 		}
@@ -260,8 +259,7 @@  discard block
 block discarded – undo
260 259
 		try
261 260
 		{
262 261
 			return count($result = $command->queryRow()) > 0 && $result['Table_type']==='VIEW';
263
-		}
264
-		catch(TDbException $e)
262
+		} catch(TDbException $e)
265 263
 		{
266 264
 			$table = $schemaName===null?$tableName:$schemaName . '.' . $tableName;
267 265
 			throw new TDbException('dbcommon_invalid_table_name', $table, $e->getMessage());
Please login to merge, or discard this patch.
framework/Data/Common/Pgsql/TPgsqlMetaData.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -204,6 +204,7 @@
 block discarded – undo
204 204
 	/**
205 205
 	 * @param TPgsqlTableInfo table information.
206 206
 	 * @param array column information.
207
+	 * @param TPgsqlTableInfo $tableInfo
207 208
 	 */
208 209
 	protected function processColumn($tableInfo, $col)
209 210
 	{
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -244,11 +244,9 @@
 block discarded – undo
244 244
 				$info['NumericPrecision'] = intval($matches[1]);
245 245
 				if(count($matches) > 2)
246 246
 					$info['NumericScale'] = intval($matches[2]);
247
-			}
248
-			else
247
+			} else
249 248
 				$info['ColumnSize'] = intval($matches[1]);
250
-		}
251
-		else
249
+		} else
252 250
 			$info['DbType'] = $col['type'];
253 251
 
254 252
 		$tableInfo->Columns[$columnId] = new TPgsqlTableColumn($info);
Please login to merge, or discard this patch.
framework/Data/Common/TDbMetaData.php 1 patch
Doc Comments   -6 removed lines patch added patch discarded remove patch
@@ -127,8 +127,6 @@  discard block
 block discarded – undo
127 127
 	/**
128 128
 	 * Quotes a table name for use in a query.
129 129
 	 * @param string $name table name
130
-	 * @param string $lft left delimiter
131
-	 * @param string $rgt right delimiter
132 130
 	 * @return string the properly quoted table name
133 131
 	 */
134 132
 	public function quoteTableName($name)
@@ -150,8 +148,6 @@  discard block
 block discarded – undo
150 148
 	/**
151 149
 	 * Quotes a column name for use in a query.
152 150
 	 * @param string $name column name
153
-	 * @param string $lft left delimiter
154
-	 * @param string $rgt right delimiter
155 151
 	 * @return string the properly quoted column name
156 152
 	 */
157 153
 	public function quoteColumnName($name)
@@ -166,8 +162,6 @@  discard block
 block discarded – undo
166 162
 	/**
167 163
 	 * Quotes a column alias for use in a query.
168 164
 	 * @param string $name column alias
169
-	 * @param string $lft left delimiter
170
-	 * @param string $rgt right delimiter
171 165
 	 * @return string the properly quoted column alias
172 166
 	 */
173 167
 	public function quoteColumnAlias($name)
Please login to merge, or discard this patch.
framework/Data/DataGateway/TSqlCriteria.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
 	}
189 189
 
190 190
 	/**
191
-	 * @return boolean true if the parameter index are string base, false otherwise.
191
+	 * @return boolean|null true if the parameter index are string base, false otherwise.
192 192
 	 */
193 193
 	public function getIsNamedParameters()
194 194
 	{
@@ -206,6 +206,7 @@  discard block
 block discarded – undo
206 206
 
207 207
 	/**
208 208
 	 * @param mixed ordering clause.
209
+	 * @param string $value
209 210
 	 */
210 211
 	public function setOrdersBy($value)
211 212
 	{
@@ -250,6 +251,7 @@  discard block
 block discarded – undo
250 251
 
251 252
 	/**
252 253
 	 * @param int record offset.
254
+	 * @param double $value
253 255
 	 */
254 256
 	public function setOffset($value)
255 257
 	{
Please login to merge, or discard this patch.
framework/Data/SqlMap/Configuration/TDiscriminator.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -132,6 +132,7 @@  discard block
 block discarded – undo
132 132
 
133 133
 	/**
134 134
 	 * @param TSubMap add new sub mapping.
135
+	 * @param TSubMap $subMap
135 136
 	 */
136 137
 	public function addSubMap($subMap)
137 138
 	{
@@ -140,6 +141,7 @@  discard block
 block discarded – undo
140 141
 
141 142
 	/**
142 143
 	 * @param string database value
144
+	 * @param string $value
143 145
 	 * @return TResultMap result mapping.
144 146
 	 */
145 147
 	public function getSubMap($value)
@@ -151,6 +153,7 @@  discard block
 block discarded – undo
151 153
 	/**
152 154
 	 * Copies the discriminator properties to a new TResultProperty.
153 155
 	 * @param TResultMap result map holding the discriminator.
156
+	 * @param TResultMap $resultMap
154 157
 	 */
155 158
 	public function initMapping($resultMap)
156 159
 	{
Please login to merge, or discard this patch.
framework/Data/SqlMap/Configuration/TParameterMap.php 2 patches
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,6 +55,7 @@  discard block
 block discarded – undo
55 55
 
56 56
 	/**
57 57
 	 * @param string a unique identifier for the <parameterMap>.
58
+	 * @param string $value
58 59
 	 */
59 60
 	public function setID($value)
60 61
 	{
@@ -62,7 +63,7 @@  discard block
 block discarded – undo
62 63
 	}
63 64
 
64 65
 	/**
65
-	 * @return TParameterProperty[] list of properties for the parameter map.
66
+	 * @return TList list of properties for the parameter map.
66 67
 	 */
67 68
 	public function getProperties()
68 69
 	{
@@ -112,6 +113,7 @@  discard block
 block discarded – undo
112 113
 	/**
113 114
 	 * @param int parameter property index
114 115
 	 * @param TParameterProperty new parameter property.
116
+	 * @param integer $index
115 117
 	 */
116 118
 	public function insertProperty($index, TParameterProperty $property)
117 119
 	{
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -177,8 +177,7 @@
 block discarded – undo
177 177
 		try
178 178
 		{
179 179
 			return TPropertyAccess::get($object, $property->getProperty());
180
-		}
181
-		catch (TInvalidPropertyException $e)
180
+		} catch (TInvalidPropertyException $e)
182 181
 		{
183 182
 			throw new TSqlMapException(
184 183
 				'sqlmap_unable_to_get_property_for_parameter',
Please login to merge, or discard this patch.
framework/Data/SqlMap/Configuration/TParameterProperty.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -110,6 +110,7 @@
 block discarded – undo
110 110
 
111 111
 	/**
112 112
 	 * @param string name of a property of the parameter object.
113
+	 * @param string $value
113 114
 	 */
114 115
 	public function setProperty($value)
115 116
 	{
Please login to merge, or discard this patch.