@@ -209,6 +209,8 @@ discard block |
||
| 209 | 209 | |
| 210 | 210 | /** |
| 211 | 211 | * {@inheritdoc} |
| 212 | + * @param string $date1 |
|
| 213 | + * @param string $date2 |
|
| 212 | 214 | */ |
| 213 | 215 | public function getDateDiffExpression($date1, $date2) |
| 214 | 216 | { |
@@ -245,6 +247,7 @@ discard block |
||
| 245 | 247 | |
| 246 | 248 | /** |
| 247 | 249 | * {@inheritdoc} |
| 250 | + * @param string $tableName |
|
| 248 | 251 | */ |
| 249 | 252 | public function getTruncateTableSQL($tableName, $cascade = false) |
| 250 | 253 | { |
@@ -329,6 +332,7 @@ discard block |
||
| 329 | 332 | |
| 330 | 333 | /** |
| 331 | 334 | * {@inheritDoc} |
| 335 | + * @param string $table |
|
| 332 | 336 | */ |
| 333 | 337 | public function getListTableIndexesSQL($table, $currentDatabase = null) |
| 334 | 338 | { |
@@ -353,6 +357,7 @@ discard block |
||
| 353 | 357 | |
| 354 | 358 | /** |
| 355 | 359 | * {@inheritDoc} |
| 360 | + * @param string $table |
|
| 356 | 361 | */ |
| 357 | 362 | public function getListTableForeignKeysSQL($table) |
| 358 | 363 | { |
@@ -387,6 +392,8 @@ discard block |
||
| 387 | 392 | |
| 388 | 393 | /** |
| 389 | 394 | * {@inheritDoc} |
| 395 | + * @param string $name |
|
| 396 | + * @param string $sql |
|
| 390 | 397 | */ |
| 391 | 398 | public function getCreateViewSQL($name, $sql) |
| 392 | 399 | { |
@@ -395,6 +402,7 @@ discard block |
||
| 395 | 402 | |
| 396 | 403 | /** |
| 397 | 404 | * {@inheritDoc} |
| 405 | + * @param string $name |
|
| 398 | 406 | */ |
| 399 | 407 | public function getDropViewSQL($name) |
| 400 | 408 | { |
@@ -403,6 +411,7 @@ discard block |
||
| 403 | 411 | |
| 404 | 412 | /** |
| 405 | 413 | * {@inheritDoc} |
| 414 | + * @param string $database |
|
| 406 | 415 | */ |
| 407 | 416 | public function getCreateDatabaseSQL($database) |
| 408 | 417 | { |
@@ -411,6 +420,7 @@ discard block |
||
| 411 | 420 | |
| 412 | 421 | /** |
| 413 | 422 | * {@inheritDoc} |
| 423 | + * @param string $database |
|
| 414 | 424 | */ |
| 415 | 425 | public function getDropDatabaseSQL($database) |
| 416 | 426 | { |
@@ -795,6 +805,8 @@ discard block |
||
| 795 | 805 | |
| 796 | 806 | /** |
| 797 | 807 | * {@inheritDoc} |
| 808 | + * @param string $str |
|
| 809 | + * @param string $substr |
|
| 798 | 810 | */ |
| 799 | 811 | public function getLocateExpression($str, $substr, $startPos = false) |
| 800 | 812 | { |
@@ -807,6 +819,9 @@ discard block |
||
| 807 | 819 | |
| 808 | 820 | /** |
| 809 | 821 | * {@inheritDoc} |
| 822 | + * @param string $value |
|
| 823 | + * @param integer $from |
|
| 824 | + * @param integer $length |
|
| 810 | 825 | */ |
| 811 | 826 | public function getSubstringExpression($value, $from, $length = null) |
| 812 | 827 | { |
@@ -837,6 +852,7 @@ discard block |
||
| 837 | 852 | * {@inheritDoc} |
| 838 | 853 | * |
| 839 | 854 | * DB2 returns all column names in SQL result sets in uppercase. |
| 855 | + * @param string $column |
|
| 840 | 856 | */ |
| 841 | 857 | public function getSQLResultCasing($column) |
| 842 | 858 | { |
@@ -444,6 +444,7 @@ |
||
| 444 | 444 | |
| 445 | 445 | /** |
| 446 | 446 | * {@inheritDoc} |
| 447 | + * @param string $table |
|
| 447 | 448 | */ |
| 448 | 449 | protected function getDropPrimaryKeySQL($table) |
| 449 | 450 | { |
@@ -81,6 +81,7 @@ discard block |
||
| 81 | 81 | |
| 82 | 82 | /** |
| 83 | 83 | * {@inheritDoc} |
| 84 | + * @param boolean $from |
|
| 84 | 85 | */ |
| 85 | 86 | public function getSubstringExpression($value, $from, $length = null) |
| 86 | 87 | { |
@@ -192,6 +193,8 @@ discard block |
||
| 192 | 193 | |
| 193 | 194 | /** |
| 194 | 195 | * {@inheritdoc} |
| 196 | + * @param string $tableName |
|
| 197 | + * @param string $columnName |
|
| 195 | 198 | */ |
| 196 | 199 | public function getIdentitySequenceName($tableName, $columnName) |
| 197 | 200 | { |
@@ -668,6 +671,9 @@ discard block |
||
| 668 | 671 | |
| 669 | 672 | /** |
| 670 | 673 | * {@inheritdoc} |
| 674 | + * @param string $tableName |
|
| 675 | + * @param string $columnName |
|
| 676 | + * @param string|null $comment |
|
| 671 | 677 | */ |
| 672 | 678 | public function getCommentOnColumnSQL($tableName, $columnName, $comment) |
| 673 | 679 | { |
@@ -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 | { |
@@ -422,7 +422,7 @@ |
||
| 422 | 422 | |
| 423 | 423 | /** |
| 424 | 424 | * @param string $name |
| 425 | - * @param mixed $value |
|
| 425 | + * @param string $value |
|
| 426 | 426 | * |
| 427 | 427 | * @return Column |
| 428 | 428 | */ |
@@ -1210,7 +1210,7 @@ |
||
| 1210 | 1210 | * Returns the savepoint name to use for nested transactions are false if they are not supported |
| 1211 | 1211 | * "savepointFormat" parameter is not set |
| 1212 | 1212 | * |
| 1213 | - * @return mixed A string with the savepoint name or false. |
|
| 1213 | + * @return string A string with the savepoint name or false. |
|
| 1214 | 1214 | */ |
| 1215 | 1215 | protected function _getNestedTransactionSavePointName() |
| 1216 | 1216 | { |
@@ -121,6 +121,7 @@ discard block |
||
| 121 | 121 | |
| 122 | 122 | /** |
| 123 | 123 | * {@inheritDoc} |
| 124 | + * @param string $connectionName |
|
| 124 | 125 | */ |
| 125 | 126 | public function connect($connectionName = null) |
| 126 | 127 | { |
@@ -291,6 +292,7 @@ discard block |
||
| 291 | 292 | |
| 292 | 293 | /** |
| 293 | 294 | * {@inheritDoc} |
| 295 | + * @param string $tableName |
|
| 294 | 296 | */ |
| 295 | 297 | public function insert($tableName, array $data, array $types = []) |
| 296 | 298 | { |
@@ -155,6 +155,7 @@ |
||
| 155 | 155 | } |
| 156 | 156 | |
| 157 | 157 | /** |
| 158 | + * @param string $msg |
|
| 158 | 159 | * @return self |
| 159 | 160 | */ |
| 160 | 161 | private static function wrapException(Driver $driver, Throwable $driverEx, $msg) |
@@ -131,6 +131,7 @@ |
||
| 131 | 131 | /** |
| 132 | 132 | * @param resource $conn |
| 133 | 133 | * @param string $sql |
| 134 | + * @param LastInsertId $lastInsertId |
|
| 134 | 135 | */ |
| 135 | 136 | public function __construct($conn, $sql, ?LastInsertId $lastInsertId = null) |
| 136 | 137 | { |