@@ -100,6 +100,7 @@ discard block |
||
| 100 | 100 | |
| 101 | 101 | /** |
| 102 | 102 | * {@inheritDoc} |
| 103 | + * @param boolean $from |
|
| 103 | 104 | */ |
| 104 | 105 | public function getSubstringExpression($value, $from, $length = null) |
| 105 | 106 | { |
@@ -211,6 +212,8 @@ discard block |
||
| 211 | 212 | |
| 212 | 213 | /** |
| 213 | 214 | * {@inheritdoc} |
| 215 | + * @param string $tableName |
|
| 216 | + * @param string $columnName |
|
| 214 | 217 | */ |
| 215 | 218 | public function getIdentitySequenceName($tableName, $columnName) |
| 216 | 219 | { |
@@ -691,6 +694,9 @@ discard block |
||
| 691 | 694 | |
| 692 | 695 | /** |
| 693 | 696 | * {@inheritdoc} |
| 697 | + * @param string $tableName |
|
| 698 | + * @param string $columnName |
|
| 699 | + * @param string|null $comment |
|
| 694 | 700 | */ |
| 695 | 701 | public function getCommentOnColumnSQL($tableName, $columnName, $comment) |
| 696 | 702 | { |
@@ -380,6 +380,9 @@ |
||
| 380 | 380 | |
| 381 | 381 | /** |
| 382 | 382 | * {@inheritdoc} |
| 383 | + * @param string $tableName |
|
| 384 | + * @param string $columnName |
|
| 385 | + * @param string|null $comment |
|
| 383 | 386 | */ |
| 384 | 387 | public function getCommentOnColumnSQL($tableName, $columnName, $comment) |
| 385 | 388 | { |
@@ -1108,7 +1108,7 @@ discard block |
||
| 1108 | 1108 | /** |
| 1109 | 1109 | * @param \Doctrine\DBAL\Schema\TableDiff $diff |
| 1110 | 1110 | * |
| 1111 | - * @return array |
|
| 1111 | + * @return ForeignKeyConstraint[] |
|
| 1112 | 1112 | */ |
| 1113 | 1113 | private function getForeignKeysInAlteredTable(TableDiff $diff) |
| 1114 | 1114 | { |
@@ -1158,7 +1158,7 @@ discard block |
||
| 1158 | 1158 | /** |
| 1159 | 1159 | * @param \Doctrine\DBAL\Schema\TableDiff $diff |
| 1160 | 1160 | * |
| 1161 | - * @return array |
|
| 1161 | + * @return Index[] |
|
| 1162 | 1162 | */ |
| 1163 | 1163 | private function getPrimaryIndexInAlteredTable(TableDiff $diff) |
| 1164 | 1164 | { |
@@ -1630,6 +1630,7 @@ |
||
| 1630 | 1630 | * {@inheritdoc} |
| 1631 | 1631 | * |
| 1632 | 1632 | * Modifies column declaration order as it differs in Microsoft SQL Server. |
| 1633 | + * @param string $name |
|
| 1633 | 1634 | */ |
| 1634 | 1635 | public function getColumnDeclarationSQL($name, array $field) |
| 1635 | 1636 | { |
@@ -983,7 +983,7 @@ discard block |
||
| 983 | 983 | /** |
| 984 | 984 | * @param array $view |
| 985 | 985 | * |
| 986 | - * @return mixed |
|
| 986 | + * @return boolean |
|
| 987 | 987 | */ |
| 988 | 988 | protected function _getPortableViewDefinition($view) |
| 989 | 989 | { |
@@ -1090,7 +1090,7 @@ discard block |
||
| 1090 | 1090 | * For databases that don't support subschema/namespaces this method |
| 1091 | 1091 | * returns the name of the currently connected database. |
| 1092 | 1092 | * |
| 1093 | - * @return array |
|
| 1093 | + * @return string[] |
|
| 1094 | 1094 | */ |
| 1095 | 1095 | public function getSchemaSearchPaths() |
| 1096 | 1096 | { |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | * Returns the names of the referencing table columns |
| 47 | 47 | * the constraint is associated with. |
| 48 | 48 | * |
| 49 | - * @return array |
|
| 49 | + * @return integer[] |
|
| 50 | 50 | */ |
| 51 | 51 | public function getColumns(); |
| 52 | 52 | |
@@ -141,7 +141,7 @@ discard block |
||
| 141 | 141 | * Returns the names of the referencing table columns |
| 142 | 142 | * the foreign key constraint is associated with. |
| 143 | 143 | * |
| 144 | - * @return array |
|
| 144 | + * @return integer[] |
|
| 145 | 145 | */ |
| 146 | 146 | public function getLocalColumns() |
| 147 | 147 | { |
@@ -264,7 +264,7 @@ discard block |
||
| 264 | 264 | * Returns the names of the referenced table columns |
| 265 | 265 | * the foreign key constraint is associated with. |
| 266 | 266 | * |
| 267 | - * @return array |
|
| 267 | + * @return integer[] |
|
| 268 | 268 | */ |
| 269 | 269 | public function getForeignColumns() |
| 270 | 270 | { |
@@ -333,7 +333,7 @@ discard block |
||
| 333 | 333 | * Returns the referential action for UPDATE operations |
| 334 | 334 | * on the referenced table the foreign key constraint is associated with. |
| 335 | 335 | * |
| 336 | - * @return string|null |
|
| 336 | + * @return string|false |
|
| 337 | 337 | */ |
| 338 | 338 | public function onUpdate() |
| 339 | 339 | { |
@@ -344,7 +344,7 @@ discard block |
||
| 344 | 344 | * Returns the referential action for DELETE operations |
| 345 | 345 | * on the referenced table the foreign key constraint is associated with. |
| 346 | 346 | * |
| 347 | - * @return string|null |
|
| 347 | + * @return string|false |
|
| 348 | 348 | */ |
| 349 | 349 | public function onDelete() |
| 350 | 350 | { |
@@ -357,7 +357,7 @@ discard block |
||
| 357 | 357 | * |
| 358 | 358 | * @param string $event Name of the database operation/event to return the referential action for. |
| 359 | 359 | * |
| 360 | - * @return string|null |
|
| 360 | + * @return string|false |
|
| 361 | 361 | */ |
| 362 | 362 | private function onEvent($event) |
| 363 | 363 | { |
@@ -266,7 +266,7 @@ |
||
| 266 | 266 | /** |
| 267 | 267 | * Gets all table names, prefixed with a schema name, even the default one if present. |
| 268 | 268 | * |
| 269 | - * @return array |
|
| 269 | + * @return integer[] |
|
| 270 | 270 | */ |
| 271 | 271 | public function getTableNames() |
| 272 | 272 | { |
@@ -205,7 +205,7 @@ discard block |
||
| 205 | 205 | } |
| 206 | 206 | |
| 207 | 207 | /** |
| 208 | - * @param array $columnNames |
|
| 208 | + * @param integer[] $columnNames |
|
| 209 | 209 | * @param string|null $indexName |
| 210 | 210 | * @param array $options |
| 211 | 211 | * |
@@ -800,7 +800,7 @@ discard block |
||
| 800 | 800 | /** |
| 801 | 801 | * @param string $name |
| 802 | 802 | * |
| 803 | - * @return mixed |
|
| 803 | + * @return string |
|
| 804 | 804 | */ |
| 805 | 805 | public function getOption($name) |
| 806 | 806 | { |