@@ -38,7 +38,7 @@ |
||
38 | 38 | } |
39 | 39 | |
40 | 40 | /** |
41 | - * @return AbstractPlatform|MockObject |
|
41 | + * @return AbstractPlatform |
|
42 | 42 | */ |
43 | 43 | private function createPlatform(bool $unsafe) |
44 | 44 | { |
@@ -142,7 +142,7 @@ |
||
142 | 142 | } |
143 | 143 | |
144 | 144 | /** |
145 | - * @return Sequence|MockObject |
|
145 | + * @return Sequence |
|
146 | 146 | */ |
147 | 147 | private function createSequenceMock() |
148 | 148 | { |
@@ -19,7 +19,7 @@ |
||
19 | 19 | } |
20 | 20 | |
21 | 21 | /** |
22 | - * @return string[][] |
|
22 | + * @return \Generator |
|
23 | 23 | */ |
24 | 24 | public function defaultTypesProvider() : iterable |
25 | 25 | { |
@@ -294,6 +294,7 @@ |
||
294 | 294 | |
295 | 295 | /** |
296 | 296 | * {@inheritDoc} |
297 | + * @param string $tableName |
|
297 | 298 | */ |
298 | 299 | public function insert($tableName, array $data, array $types = []) |
299 | 300 | { |
@@ -56,7 +56,7 @@ |
||
56 | 56 | * @param string $prepareString |
57 | 57 | * @param array<int, int> $driverOptions |
58 | 58 | * |
59 | - * @return Statement |
|
59 | + * @return \PDOStatement |
|
60 | 60 | */ |
61 | 61 | public function prepare($prepareString, $driverOptions = []) |
62 | 62 | { |
@@ -147,6 +147,8 @@ discard block |
||
147 | 147 | * |
148 | 148 | * Two approaches to listing the table indexes. The information_schema is |
149 | 149 | * preferred, because it doesn't cause problems with SQL keywords such as "order" or "table". |
150 | + * @param string $table |
|
151 | + * @param string $currentDatabase |
|
150 | 152 | */ |
151 | 153 | public function getListTableIndexesSQL($table, $currentDatabase = null) |
152 | 154 | { |
@@ -166,6 +168,7 @@ discard block |
||
166 | 168 | |
167 | 169 | /** |
168 | 170 | * {@inheritDoc} |
171 | + * @param string $database |
|
169 | 172 | */ |
170 | 173 | public function getListViewsSQL($database) |
171 | 174 | { |
@@ -365,6 +368,8 @@ discard block |
||
365 | 368 | |
366 | 369 | /** |
367 | 370 | * {@inheritDoc} |
371 | + * @param string $table |
|
372 | + * @param string $database |
|
368 | 373 | */ |
369 | 374 | public function getListTableColumnsSQL($table, $database = null) |
370 | 375 | { |
@@ -399,6 +404,7 @@ discard block |
||
399 | 404 | |
400 | 405 | /** |
401 | 406 | * {@inheritDoc} |
407 | + * @param string $name |
|
402 | 408 | */ |
403 | 409 | public function getCreateDatabaseSQL($name) |
404 | 410 | { |
@@ -407,6 +413,7 @@ discard block |
||
407 | 413 | |
408 | 414 | /** |
409 | 415 | * {@inheritDoc} |
416 | + * @param string $name |
|
410 | 417 | */ |
411 | 418 | public function getDropDatabaseSQL($name) |
412 | 419 | { |
@@ -965,6 +972,7 @@ discard block |
||
965 | 972 | |
966 | 973 | /** |
967 | 974 | * {@inheritDoc} |
975 | + * @param string $charset |
|
968 | 976 | */ |
969 | 977 | public function getColumnCharsetDeclarationSQL($charset) |
970 | 978 | { |
@@ -616,6 +616,7 @@ |
||
616 | 616 | |
617 | 617 | /** |
618 | 618 | * {@inheritDoc} |
619 | + * @param string $comment |
|
619 | 620 | */ |
620 | 621 | public function getInlineColumnCommentSQL($comment) |
621 | 622 | { |
@@ -683,7 +683,7 @@ discard block |
||
683 | 683 | /** |
684 | 684 | * Returns the primary key columns. |
685 | 685 | * |
686 | - * @return string[] |
|
686 | + * @return integer[] |
|
687 | 687 | * |
688 | 688 | * @throws DBALException |
689 | 689 | */ |
@@ -846,6 +846,9 @@ discard block |
||
846 | 846 | return $this->trimQuotes(strtolower($identifier)); |
847 | 847 | } |
848 | 848 | |
849 | + /** |
|
850 | + * @param string $comment |
|
851 | + */ |
|
849 | 852 | public function setComment(?string $comment) : self |
850 | 853 | { |
851 | 854 | // For keeping backward compatibility with MySQL in previous releases, table comments are stored as options. |
@@ -205,7 +205,7 @@ |
||
205 | 205 | /** |
206 | 206 | * Connects to a specific connection. |
207 | 207 | * |
208 | - * @param string|int $shardId |
|
208 | + * @param integer $shardId |
|
209 | 209 | * |
210 | 210 | * @return \Doctrine\DBAL\Driver\Connection |
211 | 211 | */ |