@@ -1573,6 +1573,7 @@ |
||
1573 | 1573 | * {@inheritdoc} |
1574 | 1574 | * |
1575 | 1575 | * Modifies column declaration order as it differs in Microsoft SQL Server. |
1576 | + * @param string $name |
|
1576 | 1577 | */ |
1577 | 1578 | public function getColumnDeclarationSQL($name, array $field) |
1578 | 1579 | { |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | * // (u.type = ?) AND (u.role = ?) |
65 | 65 | * $expr->andX('u.type = ?', 'u.role = ?')); |
66 | 66 | * |
67 | - * @param mixed $x Optional clause. Defaults = null, but requires |
|
67 | + * @param string $x Optional clause. Defaults = null, but requires |
|
68 | 68 | * at least one defined when converting to string. |
69 | 69 | * |
70 | 70 | * @return \Doctrine\DBAL\Query\Expression\CompositeExpression |
@@ -117,8 +117,8 @@ discard block |
||
117 | 117 | * // u.id = ? |
118 | 118 | * $expr->eq('u.id', '?'); |
119 | 119 | * |
120 | - * @param mixed $x The left expression. |
|
121 | - * @param mixed $y The right expression. |
|
120 | + * @param string $x The left expression. |
|
121 | + * @param string $y The right expression. |
|
122 | 122 | * |
123 | 123 | * @return string |
124 | 124 | */ |
@@ -136,8 +136,8 @@ discard block |
||
136 | 136 | * // u.id <> 1 |
137 | 137 | * $q->where($q->expr()->neq('u.id', '1')); |
138 | 138 | * |
139 | - * @param mixed $x The left expression. |
|
140 | - * @param mixed $y The right expression. |
|
139 | + * @param string $x The left expression. |
|
140 | + * @param string $y The right expression. |
|
141 | 141 | * |
142 | 142 | * @return string |
143 | 143 | */ |
@@ -155,8 +155,8 @@ discard block |
||
155 | 155 | * // u.id < ? |
156 | 156 | * $q->where($q->expr()->lt('u.id', '?')); |
157 | 157 | * |
158 | - * @param mixed $x The left expression. |
|
159 | - * @param mixed $y The right expression. |
|
158 | + * @param string $x The left expression. |
|
159 | + * @param string $y The right expression. |
|
160 | 160 | * |
161 | 161 | * @return string |
162 | 162 | */ |
@@ -174,8 +174,8 @@ discard block |
||
174 | 174 | * // u.id <= ? |
175 | 175 | * $q->where($q->expr()->lte('u.id', '?')); |
176 | 176 | * |
177 | - * @param mixed $x The left expression. |
|
178 | - * @param mixed $y The right expression. |
|
177 | + * @param string $x The left expression. |
|
178 | + * @param string $y The right expression. |
|
179 | 179 | * |
180 | 180 | * @return string |
181 | 181 | */ |
@@ -193,8 +193,8 @@ discard block |
||
193 | 193 | * // u.id > ? |
194 | 194 | * $q->where($q->expr()->gt('u.id', '?')); |
195 | 195 | * |
196 | - * @param mixed $x The left expression. |
|
197 | - * @param mixed $y The right expression. |
|
196 | + * @param string $x The left expression. |
|
197 | + * @param string $y The right expression. |
|
198 | 198 | * |
199 | 199 | * @return string |
200 | 200 | */ |
@@ -212,8 +212,8 @@ discard block |
||
212 | 212 | * // u.id >= ? |
213 | 213 | * $q->where($q->expr()->gte('u.id', '?')); |
214 | 214 | * |
215 | - * @param mixed $x The left expression. |
|
216 | - * @param mixed $y The right expression. |
|
215 | + * @param string $x The left expression. |
|
216 | + * @param string $y The right expression. |
|
217 | 217 | * |
218 | 218 | * @return string |
219 | 219 | */ |
@@ -458,7 +458,7 @@ discard block |
||
458 | 458 | * ->leftJoin('u', 'phonenumbers', 'p', 'u.id = p.user_id'); |
459 | 459 | * </code> |
460 | 460 | * |
461 | - * @param mixed $select The selection expressions. |
|
461 | + * @param string $select The selection expressions. |
|
462 | 462 | * |
463 | 463 | * @return $this This QueryBuilder instance. |
464 | 464 | */ |
@@ -486,7 +486,7 @@ discard block |
||
486 | 486 | * ->leftJoin('u', 'phonenumbers', 'u.id = p.user_id'); |
487 | 487 | * </code> |
488 | 488 | * |
489 | - * @param mixed $select The selection expression. |
|
489 | + * @param string $select The selection expression. |
|
490 | 490 | * |
491 | 491 | * @return $this This QueryBuilder instance. |
492 | 492 | */ |
@@ -794,7 +794,7 @@ discard block |
||
794 | 794 | * ->andWhere('u.is_active = 1'); |
795 | 795 | * </code> |
796 | 796 | * |
797 | - * @param mixed $where The query restrictions. |
|
797 | + * @param string $where The query restrictions. |
|
798 | 798 | * |
799 | 799 | * @return $this This QueryBuilder instance. |
800 | 800 | * |
@@ -827,7 +827,7 @@ discard block |
||
827 | 827 | * ->orWhere('u.id = 2'); |
828 | 828 | * </code> |
829 | 829 | * |
830 | - * @param mixed $where The WHERE statement. |
|
830 | + * @param string $where The WHERE statement. |
|
831 | 831 | * |
832 | 832 | * @return $this This QueryBuilder instance. |
833 | 833 | * |
@@ -955,7 +955,7 @@ discard block |
||
955 | 955 | * Specifies a restriction over the groups of the query. |
956 | 956 | * Replaces any previous having restrictions, if any. |
957 | 957 | * |
958 | - * @param mixed $having The restriction over the groups. |
|
958 | + * @param string $having The restriction over the groups. |
|
959 | 959 | * |
960 | 960 | * @return $this This QueryBuilder instance. |
961 | 961 | */ |
@@ -972,7 +972,7 @@ discard block |
||
972 | 972 | * Adds a restriction over the groups of the query, forming a logical |
973 | 973 | * conjunction with any existing having restrictions. |
974 | 974 | * |
975 | - * @param mixed $having The restriction to append. |
|
975 | + * @param string $having The restriction to append. |
|
976 | 976 | * |
977 | 977 | * @return $this This QueryBuilder instance. |
978 | 978 | */ |
@@ -995,7 +995,7 @@ discard block |
||
995 | 995 | * Adds a restriction over the groups of the query, forming a logical |
996 | 996 | * disjunction with any existing having restrictions. |
997 | 997 | * |
998 | - * @param mixed $having The restriction to add. |
|
998 | + * @param string $having The restriction to add. |
|
999 | 999 | * |
1000 | 1000 | * @return $this This QueryBuilder instance. |
1001 | 1001 | */ |
@@ -1066,7 +1066,7 @@ discard block |
||
1066 | 1066 | /** |
1067 | 1067 | * Resets SQL parts. |
1068 | 1068 | * |
1069 | - * @param array|null $queryPartNames |
|
1069 | + * @param string[] $queryPartNames |
|
1070 | 1070 | * |
1071 | 1071 | * @return $this This QueryBuilder instance. |
1072 | 1072 | */ |
@@ -1250,7 +1250,7 @@ discard block |
||
1250 | 1250 | * @license New BSD License |
1251 | 1251 | * @link http://www.zetacomponents.org |
1252 | 1252 | * |
1253 | - * @param mixed $value |
|
1253 | + * @param integer $value |
|
1254 | 1254 | * @param mixed $type |
1255 | 1255 | * @param string $placeHolder The name to bind with. The string must start with a colon ':'. |
1256 | 1256 | * |
@@ -1284,7 +1284,7 @@ discard block |
||
1284 | 1284 | * ->orWhere('u.username = ' . $qb->createPositionalParameter('Bar', PDO::PARAM_STR)) |
1285 | 1285 | * </code> |
1286 | 1286 | * |
1287 | - * @param mixed $value |
|
1287 | + * @param integer $value |
|
1288 | 1288 | * @param integer $type |
1289 | 1289 | * |
1290 | 1290 | * @return string |
@@ -196,7 +196,7 @@ discard block |
||
196 | 196 | /** |
197 | 197 | * Returns true if all the given tables exist. |
198 | 198 | * |
199 | - * @param array $tableNames |
|
199 | + * @param string $tableNames |
|
200 | 200 | * |
201 | 201 | * @return boolean |
202 | 202 | */ |
@@ -972,7 +972,7 @@ discard block |
||
972 | 972 | /** |
973 | 973 | * @param array $view |
974 | 974 | * |
975 | - * @return mixed |
|
975 | + * @return boolean |
|
976 | 976 | */ |
977 | 977 | protected function _getPortableViewDefinition($view) |
978 | 978 | { |
@@ -1075,7 +1075,7 @@ discard block |
||
1075 | 1075 | * For databases that don't support subschema/namespaces this method |
1076 | 1076 | * returns the name of the currently connected database. |
1077 | 1077 | * |
1078 | - * @return array |
|
1078 | + * @return string[] |
|
1079 | 1079 | */ |
1080 | 1080 | public function getSchemaSearchPaths() |
1081 | 1081 | { |
@@ -263,7 +263,7 @@ |
||
263 | 263 | /** |
264 | 264 | * Gets all table names, prefixed with a schema name, even the default one if present. |
265 | 265 | * |
266 | - * @return array |
|
266 | + * @return integer[] |
|
267 | 267 | */ |
268 | 268 | public function getTableNames() |
269 | 269 | { |
@@ -401,8 +401,8 @@ |
||
401 | 401 | * @deprecated Use {@link addForeignKeyConstraint} |
402 | 402 | * |
403 | 403 | * @param Table|string $foreignTable Table schema instance or table name |
404 | - * @param array $localColumnNames |
|
405 | - * @param array $foreignColumnNames |
|
404 | + * @param string[] $localColumnNames |
|
405 | + * @param string[] $foreignColumnNames |
|
406 | 406 | * @param array $options |
407 | 407 | * |
408 | 408 | * @return self |
@@ -99,8 +99,8 @@ |
||
99 | 99 | |
100 | 100 | /** |
101 | 101 | * @param string $sql |
102 | - * @param array $params |
|
103 | - * @param array $types |
|
102 | + * @param integer[] $params |
|
103 | + * @param integer[] $types |
|
104 | 104 | * |
105 | 105 | * @return array |
106 | 106 | * |
@@ -179,7 +179,7 @@ |
||
179 | 179 | /** |
180 | 180 | * @param \Doctrine\DBAL\Schema\Schema $schema |
181 | 181 | * |
182 | - * @return array |
|
182 | + * @return Schema[] |
|
183 | 183 | */ |
184 | 184 | private function partitionSchema(Schema $schema) |
185 | 185 | { |
@@ -22,7 +22,6 @@ |
||
22 | 22 | use Doctrine\DBAL\Schema\Schema; |
23 | 23 | use Doctrine\DBAL\Connection; |
24 | 24 | use Doctrine\DBAL\Types\Type; |
25 | - |
|
26 | 25 | use Doctrine\DBAL\Schema\Synchronizer\AbstractSchemaSynchronizer; |
27 | 26 | use Doctrine\DBAL\Schema\Synchronizer\SingleDatabaseSynchronizer; |
28 | 27 | use Doctrine\DBAL\Schema\Synchronizer\SchemaSynchronizer; |
@@ -276,7 +276,7 @@ |
||
276 | 276 | * |
277 | 277 | * @param integer $columnIndex |
278 | 278 | * |
279 | - * @return mixed A single column from the next row of a result set or FALSE if there are no more rows. |
|
279 | + * @return string|boolean A single column from the next row of a result set or FALSE if there are no more rows. |
|
280 | 280 | */ |
281 | 281 | public function fetchColumn($columnIndex = 0) |
282 | 282 | { |