@@ -27,7 +27,7 @@ |
||
27 | 27 | /** |
28 | 28 | * @param int $timestamp |
29 | 29 | * @param string $fieldType |
30 | - * @return bool|false|string |
|
30 | + * @return string|false |
|
31 | 31 | * @deprecated |
32 | 32 | */ |
33 | 33 | public function convertDate($timestamp, $fieldType = 'DATETIME') |
@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | * appending or prepending to the ones previously set for this prefix. |
104 | 104 | * |
105 | 105 | * @param string $prefix The prefix |
106 | - * @param array|string $paths The PSR-0 root directories |
|
106 | + * @param string $paths The PSR-0 root directories |
|
107 | 107 | * @param bool $prepend Whether to prepend the directories |
108 | 108 | */ |
109 | 109 | public function add($prefix, $paths, $prepend = false) |
@@ -367,6 +367,10 @@ discard block |
||
367 | 367 | return $file; |
368 | 368 | } |
369 | 369 | |
370 | + /** |
|
371 | + * @param string $class |
|
372 | + * @param string $ext |
|
373 | + */ |
|
370 | 374 | private function findFileWithExtension($class, $ext) |
371 | 375 | { |
372 | 376 | // PSR-4 lookup |
@@ -229,7 +229,7 @@ |
||
229 | 229 | * |
230 | 230 | * @param string $id The id of the cache entry to fetch. |
231 | 231 | * |
232 | - * @return mixed|false The cached data or FALSE, if no cache entry exists for the given id. |
|
232 | + * @return string The cached data or FALSE, if no cache entry exists for the given id. |
|
233 | 233 | */ |
234 | 234 | abstract protected function doFetch($id); |
235 | 235 |
@@ -49,6 +49,7 @@ discard block |
||
49 | 49 | /** |
50 | 50 | * @param int $lifetime |
51 | 51 | * @param string|null $cacheKey |
52 | + * @param Cache $resultCache |
|
52 | 53 | */ |
53 | 54 | public function __construct($lifetime = 0, $cacheKey = null, ?Cache $resultCache = null) |
54 | 55 | { |
@@ -95,7 +96,7 @@ discard block |
||
95 | 96 | * @param array $types |
96 | 97 | * @param array $connectionParams |
97 | 98 | * |
98 | - * @return array |
|
99 | + * @return string[] |
|
99 | 100 | */ |
100 | 101 | public function generateCacheKeys($query, $params, $types, array $connectionParams = []) |
101 | 102 | { |
@@ -601,7 +601,7 @@ discard block |
||
601 | 601 | * @param int $column The 0-indexed column number to retrieve. |
602 | 602 | * @param array $types The query parameter types. |
603 | 603 | * |
604 | - * @return mixed|bool False is returned if no rows are found. |
|
604 | + * @return string|boolean False is returned if no rows are found. |
|
605 | 605 | * |
606 | 606 | * @throws \Doctrine\DBAL\DBALException |
607 | 607 | */ |
@@ -1251,7 +1251,7 @@ discard block |
||
1251 | 1251 | * Returns the savepoint name to use for nested transactions are false if they are not supported |
1252 | 1252 | * "savepointFormat" parameter is not set |
1253 | 1253 | * |
1254 | - * @return mixed A string with the savepoint name or false. |
|
1254 | + * @return string A string with the savepoint name or false. |
|
1255 | 1255 | */ |
1256 | 1256 | protected function _getNestedTransactionSavePointName() |
1257 | 1257 | { |
@@ -142,6 +142,7 @@ |
||
142 | 142 | |
143 | 143 | /** |
144 | 144 | * {@inheritDoc} |
145 | + * @param string $connectionName |
|
145 | 146 | */ |
146 | 147 | public function connect($connectionName = null) |
147 | 148 | { |
@@ -172,6 +172,7 @@ |
||
172 | 172 | /** |
173 | 173 | * @param \Doctrine\DBAL\Driver $driver |
174 | 174 | * @param \Exception $driverEx |
175 | + * @param string $msg |
|
175 | 176 | * |
176 | 177 | * @return \Doctrine\DBAL\DBALException |
177 | 178 | */ |
@@ -537,7 +537,7 @@ discard block |
||
537 | 537 | /** |
538 | 538 | * Marks this type as to be commented in ALTER TABLE and CREATE TABLE statements. |
539 | 539 | * |
540 | - * @param string|\Doctrine\DBAL\Types\Type $doctrineType |
|
540 | + * @param Type $doctrineType |
|
541 | 541 | * |
542 | 542 | * @return void |
543 | 543 | */ |
@@ -661,7 +661,7 @@ discard block |
||
661 | 661 | /** |
662 | 662 | * Gets all SQL wildcard characters of the platform. |
663 | 663 | * |
664 | - * @return array |
|
664 | + * @return string[] |
|
665 | 665 | */ |
666 | 666 | public function getWildcards() |
667 | 667 | { |
@@ -1699,7 +1699,7 @@ discard block |
||
1699 | 1699 | * @param array $columns |
1700 | 1700 | * @param array $options |
1701 | 1701 | * |
1702 | - * @return array |
|
1702 | + * @return string[] |
|
1703 | 1703 | */ |
1704 | 1704 | protected function _getCreateTableSQL($tableName, array $columns, array $options = []) |
1705 | 1705 | { |
@@ -1882,7 +1882,7 @@ discard block |
||
1882 | 1882 | * Returns the SQL to create an unnamed primary key constraint. |
1883 | 1883 | * |
1884 | 1884 | * @param \Doctrine\DBAL\Schema\Index $index |
1885 | - * @param \Doctrine\DBAL\Schema\Table|string $table |
|
1885 | + * @param string $table |
|
1886 | 1886 | * |
1887 | 1887 | * @return string |
1888 | 1888 | */ |
@@ -2180,7 +2180,7 @@ discard block |
||
2180 | 2180 | * @param \Doctrine\DBAL\Schema\Index $index The definition of the index to rename to. |
2181 | 2181 | * @param string $tableName The table to rename the given index on. |
2182 | 2182 | * |
2183 | - * @return array The sequence of SQL statements for renaming the given index. |
|
2183 | + * @return string[] The sequence of SQL statements for renaming the given index. |
|
2184 | 2184 | */ |
2185 | 2185 | protected function getRenameIndexSQL($oldIndexName, Index $index, $tableName) |
2186 | 2186 | { |
@@ -457,6 +457,7 @@ |
||
457 | 457 | |
458 | 458 | /** |
459 | 459 | * {@inheritDoc} |
460 | + * @param string $table |
|
460 | 461 | */ |
461 | 462 | protected function getDropPrimaryKeySQL($table) |
462 | 463 | { |