@@ -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 | { |
@@ -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 | { |
@@ -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 | { |
@@ -496,7 +496,7 @@ discard block |
||
| 496 | 496 | /** |
| 497 | 497 | * Marks this type as to be commented in ALTER TABLE and CREATE TABLE statements. |
| 498 | 498 | * |
| 499 | - * @param string|Type $doctrineType |
|
| 499 | + * @param Type $doctrineType |
|
| 500 | 500 | * |
| 501 | 501 | * @return void |
| 502 | 502 | */ |
@@ -872,7 +872,7 @@ discard block |
||
| 872 | 872 | * |
| 873 | 873 | * @param string $str Literal string. |
| 874 | 874 | * @param string $substr Literal string to find. |
| 875 | - * @param int|false $startPos Position to start at, beginning of string by default. |
|
| 875 | + * @param integer $startPos Position to start at, beginning of string by default. |
|
| 876 | 876 | * |
| 877 | 877 | * @return string |
| 878 | 878 | * |
@@ -1441,7 +1441,7 @@ discard block |
||
| 1441 | 1441 | /** |
| 1442 | 1442 | * Returns the SQL to safely drop a temporary table WITHOUT implicitly committing an open transaction. |
| 1443 | 1443 | * |
| 1444 | - * @param Table|string $table |
|
| 1444 | + * @param string $table |
|
| 1445 | 1445 | * |
| 1446 | 1446 | * @return string |
| 1447 | 1447 | */ |
@@ -1838,7 +1838,7 @@ discard block |
||
| 1838 | 1838 | /** |
| 1839 | 1839 | * Returns the SQL to create an unnamed primary key constraint. |
| 1840 | 1840 | * |
| 1841 | - * @param Table|string $table |
|
| 1841 | + * @param string $table |
|
| 1842 | 1842 | * |
| 1843 | 1843 | * @return string |
| 1844 | 1844 | */ |
@@ -687,6 +687,7 @@ discard block |
||
| 687 | 687 | |
| 688 | 688 | /** |
| 689 | 689 | * {@inheritDoc} |
| 690 | + * @param string $sequence |
|
| 690 | 691 | */ |
| 691 | 692 | public function getDropSequenceSQL($sequence) |
| 692 | 693 | { |
@@ -895,6 +896,7 @@ discard block |
||
| 895 | 896 | |
| 896 | 897 | /** |
| 897 | 898 | * {@inheritdoc} |
| 899 | + * @param string $name |
|
| 898 | 900 | */ |
| 899 | 901 | public function getColumnDeclarationSQL($name, array $field) |
| 900 | 902 | { |
@@ -953,6 +955,8 @@ discard block |
||
| 953 | 955 | |
| 954 | 956 | /** |
| 955 | 957 | * {@inheritdoc} |
| 958 | + * @param string $tableName |
|
| 959 | + * @param string $columnName |
|
| 956 | 960 | */ |
| 957 | 961 | public function getIdentitySequenceName($tableName, $columnName) |
| 958 | 962 | { |
@@ -43,6 +43,7 @@ discard block |
||
| 43 | 43 | |
| 44 | 44 | /** |
| 45 | 45 | * {@inheritdoc} |
| 46 | + * @param string $fromClause |
|
| 46 | 47 | */ |
| 47 | 48 | public function appendLockHint($fromClause, $lockMode) |
| 48 | 49 | { |
@@ -65,6 +66,7 @@ discard block |
||
| 65 | 66 | * {@inheritdoc} |
| 66 | 67 | * |
| 67 | 68 | * SQL Anywhere supports a maximum length of 128 bytes for identifiers. |
| 69 | + * @param string $schemaElementName |
|
| 68 | 70 | */ |
| 69 | 71 | public function fixSchemaElementName($schemaElementName) |
| 70 | 72 | { |
@@ -352,6 +354,9 @@ discard block |
||
| 352 | 354 | |
| 353 | 355 | /** |
| 354 | 356 | * {@inheritdoc} |
| 357 | + * @param string $tableName |
|
| 358 | + * @param string $columnName |
|
| 359 | + * @param string|null $comment |
|
| 355 | 360 | */ |
| 356 | 361 | public function getCommentOnColumnSQL($tableName, $columnName, $comment) |
| 357 | 362 | { |
@@ -394,6 +399,7 @@ discard block |
||
| 394 | 399 | |
| 395 | 400 | /** |
| 396 | 401 | * {@inheritdoc} |
| 402 | + * @param string $database |
|
| 397 | 403 | */ |
| 398 | 404 | public function getCreateDatabaseSQL($database) |
| 399 | 405 | { |
@@ -434,6 +440,8 @@ discard block |
||
| 434 | 440 | |
| 435 | 441 | /** |
| 436 | 442 | * {@inheritdoc} |
| 443 | + * @param string $name |
|
| 444 | + * @param string $sql |
|
| 437 | 445 | */ |
| 438 | 446 | public function getCreateViewSQL($name, $sql) |
| 439 | 447 | { |
@@ -480,6 +488,8 @@ discard block |
||
| 480 | 488 | |
| 481 | 489 | /** |
| 482 | 490 | * {@inheritdoc} |
| 491 | + * @param string $date1 |
|
| 492 | + * @param string $date2 |
|
| 483 | 493 | */ |
| 484 | 494 | public function getDateDiffExpression($date1, $date2) |
| 485 | 495 | { |
@@ -528,6 +538,7 @@ discard block |
||
| 528 | 538 | |
| 529 | 539 | /** |
| 530 | 540 | * {@inheritdoc} |
| 541 | + * @param string $database |
|
| 531 | 542 | */ |
| 532 | 543 | public function getDropDatabaseSQL($database) |
| 533 | 544 | { |
@@ -570,6 +581,7 @@ discard block |
||
| 570 | 581 | |
| 571 | 582 | /** |
| 572 | 583 | * {@inheritdoc} |
| 584 | + * @param string $name |
|
| 573 | 585 | */ |
| 574 | 586 | public function getDropViewSQL($name) |
| 575 | 587 | { |
@@ -685,6 +697,7 @@ discard block |
||
| 685 | 697 | |
| 686 | 698 | /** |
| 687 | 699 | * {@inheritdoc} |
| 700 | + * @param string $name |
|
| 688 | 701 | */ |
| 689 | 702 | public function getIndexDeclarationSQL($name, Index $index) |
| 690 | 703 | { |
@@ -712,6 +725,7 @@ discard block |
||
| 712 | 725 | |
| 713 | 726 | /** |
| 714 | 727 | * {@inheritdoc} |
| 728 | + * @param string $table |
|
| 715 | 729 | */ |
| 716 | 730 | public function getListTableColumnsSQL($table, $database = null) |
| 717 | 731 | { |
@@ -751,6 +765,7 @@ discard block |
||
| 751 | 765 | * {@inheritdoc} |
| 752 | 766 | * |
| 753 | 767 | * @todo Where is this used? Which information should be retrieved? |
| 768 | + * @param string $table |
|
| 754 | 769 | */ |
| 755 | 770 | public function getListTableConstraintsSQL($table) |
| 756 | 771 | { |
@@ -780,6 +795,7 @@ discard block |
||
| 780 | 795 | |
| 781 | 796 | /** |
| 782 | 797 | * {@inheritdoc} |
| 798 | + * @param string $table |
|
| 783 | 799 | */ |
| 784 | 800 | public function getListTableForeignKeysSQL($table) |
| 785 | 801 | { |
@@ -873,6 +889,7 @@ discard block |
||
| 873 | 889 | |
| 874 | 890 | /** |
| 875 | 891 | * {@inheritdoc} |
| 892 | + * @param string $table |
|
| 876 | 893 | */ |
| 877 | 894 | public function getListTableIndexesSQL($table, $currentDatabase = null) |
| 878 | 895 | { |
@@ -972,6 +989,8 @@ discard block |
||
| 972 | 989 | |
| 973 | 990 | /** |
| 974 | 991 | * {@inheritdoc} |
| 992 | + * @param string $str |
|
| 993 | + * @param string $substr |
|
| 975 | 994 | */ |
| 976 | 995 | public function getLocateExpression($str, $substr, $startPos = false) |
| 977 | 996 | { |
@@ -992,6 +1011,7 @@ discard block |
||
| 992 | 1011 | |
| 993 | 1012 | /** |
| 994 | 1013 | * {@inheritdoc} |
| 1014 | + * @param string $column |
|
| 995 | 1015 | */ |
| 996 | 1016 | public function getMd5Expression($column) |
| 997 | 1017 | { |
@@ -1087,6 +1107,9 @@ discard block |
||
| 1087 | 1107 | |
| 1088 | 1108 | /** |
| 1089 | 1109 | * {@inheritdoc} |
| 1110 | + * @param string $value |
|
| 1111 | + * @param integer $from |
|
| 1112 | + * @param integer $length |
|
| 1090 | 1113 | */ |
| 1091 | 1114 | public function getSubstringExpression($value, $from, $length = null) |
| 1092 | 1115 | { |
@@ -1123,6 +1146,7 @@ discard block |
||
| 1123 | 1146 | |
| 1124 | 1147 | /** |
| 1125 | 1148 | * {@inheritdoc} |
| 1149 | + * @param string $str |
|
| 1126 | 1150 | */ |
| 1127 | 1151 | public function getTrimExpression($str, $pos = TrimMode::UNSPECIFIED, $char = false) |
| 1128 | 1152 | { |
@@ -1152,6 +1176,7 @@ discard block |
||
| 1152 | 1176 | |
| 1153 | 1177 | /** |
| 1154 | 1178 | * {@inheritdoc} |
| 1179 | + * @param string $tableName |
|
| 1155 | 1180 | */ |
| 1156 | 1181 | public function getTruncateTableSQL($tableName, $cascade = false) |
| 1157 | 1182 | { |