@@ -575,7 +575,7 @@ discard block |
||
575 | 575 | * @param integer $column The 0-indexed column number to retrieve. |
576 | 576 | * @param array $types The query parameter types. |
577 | 577 | * |
578 | - * @return mixed|bool False is returned if no rows are found. |
|
578 | + * @return string|boolean False is returned if no rows are found. |
|
579 | 579 | */ |
580 | 580 | public function fetchColumn($statement, array $params = [], $column = 0, array $types = []) |
581 | 581 | { |
@@ -1113,7 +1113,7 @@ discard block |
||
1113 | 1113 | /** |
1114 | 1114 | * Fetches the SQLSTATE associated with the last database operation. |
1115 | 1115 | * |
1116 | - * @return integer The last error code. |
|
1116 | + * @return string|null The last error code. |
|
1117 | 1117 | */ |
1118 | 1118 | public function errorCode() |
1119 | 1119 | { |
@@ -1219,7 +1219,7 @@ discard block |
||
1219 | 1219 | * Returns the savepoint name to use for nested transactions are false if they are not supported |
1220 | 1220 | * "savepointFormat" parameter is not set |
1221 | 1221 | * |
1222 | - * @return mixed A string with the savepoint name or false. |
|
1222 | + * @return string A string with the savepoint name or false. |
|
1223 | 1223 | */ |
1224 | 1224 | protected function _getNestedTransactionSavePointName() |
1225 | 1225 | { |
@@ -487,7 +487,7 @@ discard block |
||
487 | 487 | /** |
488 | 488 | * Marks this type as to be commented in ALTER TABLE and CREATE TABLE statements. |
489 | 489 | * |
490 | - * @param string|\Doctrine\DBAL\Types\Type $doctrineType |
|
490 | + * @param Type $doctrineType |
|
491 | 491 | * |
492 | 492 | * @return void |
493 | 493 | */ |
@@ -603,7 +603,7 @@ discard block |
||
603 | 603 | /** |
604 | 604 | * Gets all SQL wildcard characters of the platform. |
605 | 605 | * |
606 | - * @return array |
|
606 | + * @return string[] |
|
607 | 607 | */ |
608 | 608 | public function getWildcards() |
609 | 609 | { |
@@ -855,7 +855,7 @@ discard block |
||
855 | 855 | * |
856 | 856 | * @param string $str Literal string. |
857 | 857 | * @param string $substr Literal string to find. |
858 | - * @param integer|boolean $startPos Position to start at, beginning of string by default. |
|
858 | + * @param integer $startPos Position to start at, beginning of string by default. |
|
859 | 859 | * |
860 | 860 | * @return string |
861 | 861 | * |
@@ -1416,7 +1416,7 @@ discard block |
||
1416 | 1416 | /** |
1417 | 1417 | * Returns the SQL to safely drop a temporary table WITHOUT implicitly committing an open transaction. |
1418 | 1418 | * |
1419 | - * @param \Doctrine\DBAL\Schema\Table|string $table |
|
1419 | + * @param string $table |
|
1420 | 1420 | * |
1421 | 1421 | * @return string |
1422 | 1422 | */ |
@@ -1639,7 +1639,7 @@ discard block |
||
1639 | 1639 | * @param array $columns |
1640 | 1640 | * @param array $options |
1641 | 1641 | * |
1642 | - * @return array |
|
1642 | + * @return string[] |
|
1643 | 1643 | */ |
1644 | 1644 | protected function _getCreateTableSQL($tableName, array $columns, array $options = []) |
1645 | 1645 | { |
@@ -1822,7 +1822,7 @@ discard block |
||
1822 | 1822 | * Returns the SQL to create an unnamed primary key constraint. |
1823 | 1823 | * |
1824 | 1824 | * @param \Doctrine\DBAL\Schema\Index $index |
1825 | - * @param \Doctrine\DBAL\Schema\Table|string $table |
|
1825 | + * @param string $table |
|
1826 | 1826 | * |
1827 | 1827 | * @return string |
1828 | 1828 | */ |
@@ -2120,7 +2120,7 @@ discard block |
||
2120 | 2120 | * @param \Doctrine\DBAL\Schema\Index $index The definition of the index to rename to. |
2121 | 2121 | * @param string $tableName The table to rename the given index on. |
2122 | 2122 | * |
2123 | - * @return array The sequence of SQL statements for renaming the given index. |
|
2123 | + * @return string[] The sequence of SQL statements for renaming the given index. |
|
2124 | 2124 | */ |
2125 | 2125 | protected function getRenameIndexSQL($oldIndexName, Index $index, $tableName) |
2126 | 2126 | { |