@@ -452,7 +452,7 @@ discard block |
||
452 | 452 | * ->leftJoin('u', 'phonenumbers', 'p', 'u.id = p.user_id'); |
453 | 453 | * </code> |
454 | 454 | * |
455 | - * @param mixed $select The selection expressions. |
|
455 | + * @param string $select The selection expressions. |
|
456 | 456 | * |
457 | 457 | * @return $this This QueryBuilder instance. |
458 | 458 | */ |
@@ -480,7 +480,7 @@ discard block |
||
480 | 480 | * ->leftJoin('u', 'phonenumbers', 'u.id = p.user_id'); |
481 | 481 | * </code> |
482 | 482 | * |
483 | - * @param mixed $select The selection expression. |
|
483 | + * @param string $select The selection expression. |
|
484 | 484 | * |
485 | 485 | * @return $this This QueryBuilder instance. |
486 | 486 | */ |
@@ -788,7 +788,7 @@ discard block |
||
788 | 788 | * |
789 | 789 | * @see where() |
790 | 790 | * |
791 | - * @param mixed $where The query restrictions. |
|
791 | + * @param string $where The query restrictions. |
|
792 | 792 | * |
793 | 793 | * @return $this This QueryBuilder instance. |
794 | 794 | */ |
@@ -821,7 +821,7 @@ discard block |
||
821 | 821 | * |
822 | 822 | * @see where() |
823 | 823 | * |
824 | - * @param mixed $where The WHERE statement. |
|
824 | + * @param string $where The WHERE statement. |
|
825 | 825 | * |
826 | 826 | * @return $this This QueryBuilder instance. |
827 | 827 | */ |
@@ -946,7 +946,7 @@ discard block |
||
946 | 946 | * Specifies a restriction over the groups of the query. |
947 | 947 | * Replaces any previous having restrictions, if any. |
948 | 948 | * |
949 | - * @param mixed $having The restriction over the groups. |
|
949 | + * @param string $having The restriction over the groups. |
|
950 | 950 | * |
951 | 951 | * @return $this This QueryBuilder instance. |
952 | 952 | */ |
@@ -963,7 +963,7 @@ discard block |
||
963 | 963 | * Adds a restriction over the groups of the query, forming a logical |
964 | 964 | * conjunction with any existing having restrictions. |
965 | 965 | * |
966 | - * @param mixed $having The restriction to append. |
|
966 | + * @param string $having The restriction to append. |
|
967 | 967 | * |
968 | 968 | * @return $this This QueryBuilder instance. |
969 | 969 | */ |
@@ -986,7 +986,7 @@ discard block |
||
986 | 986 | * Adds a restriction over the groups of the query, forming a logical |
987 | 987 | * disjunction with any existing having restrictions. |
988 | 988 | * |
989 | - * @param mixed $having The restriction to add. |
|
989 | + * @param string $having The restriction to add. |
|
990 | 990 | * |
991 | 991 | * @return $this This QueryBuilder instance. |
992 | 992 | */ |
@@ -1057,7 +1057,7 @@ discard block |
||
1057 | 1057 | /** |
1058 | 1058 | * Resets SQL parts. |
1059 | 1059 | * |
1060 | - * @param string[]|null $queryPartNames |
|
1060 | + * @param string[] $queryPartNames |
|
1061 | 1061 | * |
1062 | 1062 | * @return $this This QueryBuilder instance. |
1063 | 1063 | */ |
@@ -1238,7 +1238,7 @@ discard block |
||
1238 | 1238 | * |
1239 | 1239 | * @link http://www.zetacomponents.org |
1240 | 1240 | * |
1241 | - * @param mixed $value |
|
1241 | + * @param integer $value |
|
1242 | 1242 | * @param mixed $type |
1243 | 1243 | * @param string $placeHolder The name to bind with. The string must start with a colon ':'. |
1244 | 1244 | * |
@@ -1272,7 +1272,7 @@ discard block |
||
1272 | 1272 | * ->orWhere('u.username = ' . $qb->createPositionalParameter('Bar', ParameterType::STRING)) |
1273 | 1273 | * </code> |
1274 | 1274 | * |
1275 | - * @param mixed $value |
|
1275 | + * @param integer $value |
|
1276 | 1276 | * @param int $type |
1277 | 1277 | * |
1278 | 1278 | * @return string |
@@ -255,7 +255,7 @@ |
||
255 | 255 | /** |
256 | 256 | * Returns platform specific flags for indexes. |
257 | 257 | * |
258 | - * @return string[] |
|
258 | + * @return integer[] |
|
259 | 259 | */ |
260 | 260 | public function getFlags() |
261 | 261 | { |
@@ -57,6 +57,7 @@ discard block |
||
57 | 57 | * @param Table[] $tables |
58 | 58 | * @param Sequence[] $sequences |
59 | 59 | * @param string[] $namespaces |
60 | + * @param SchemaConfig $schemaConfig |
|
60 | 61 | */ |
61 | 62 | public function __construct( |
62 | 63 | array $tables = [], |
@@ -238,7 +239,7 @@ discard block |
||
238 | 239 | /** |
239 | 240 | * Gets all table names, prefixed with a schema name, even the default one if present. |
240 | 241 | * |
241 | - * @return string[] |
|
242 | + * @return integer[] |
|
242 | 243 | */ |
243 | 244 | public function getTableNames() |
244 | 245 | { |
@@ -81,8 +81,8 @@ discard block |
||
81 | 81 | * type and the value undergoes the conversion routines of the mapping type before |
82 | 82 | * being bound. |
83 | 83 | * |
84 | - * @param string|int $name The name or position of the parameter. |
|
85 | - * @param mixed $value The value of the parameter. |
|
84 | + * @param string $name The name or position of the parameter. |
|
85 | + * @param string $value The value of the parameter. |
|
86 | 86 | * @param mixed $type Either a PDO binding type or a DBAL mapping type name or instance. |
87 | 87 | * |
88 | 88 | * @return bool TRUE on success, FALSE on failure. |
@@ -113,8 +113,8 @@ discard block |
||
113 | 113 | * |
114 | 114 | * Binding a parameter by reference does not support DBAL mapping types. |
115 | 115 | * |
116 | - * @param string|int $name The name or position of the parameter. |
|
117 | - * @param mixed $var The reference to the variable to bind. |
|
116 | + * @param string $name The name or position of the parameter. |
|
117 | + * @param string $var The reference to the variable to bind. |
|
118 | 118 | * @param int $type The PDO binding type. |
119 | 119 | * @param int|null $length Must be specified when using an OUT bind |
120 | 120 | * so that PHP allocates enough memory to hold the returned value. |
@@ -142,7 +142,7 @@ |
||
142 | 142 | * |
143 | 143 | * @param object $var |
144 | 144 | * |
145 | - * @return mixed |
|
145 | + * @return stdClass |
|
146 | 146 | */ |
147 | 147 | private static function fillReturnWithClassAttributes($var, stdClass $return, int $maxDepth) |
148 | 148 | { |
@@ -216,7 +216,7 @@ |
||
216 | 216 | } |
217 | 217 | |
218 | 218 | /** |
219 | - * @return mixed[][] |
|
219 | + * @return \Generator |
|
220 | 220 | */ |
221 | 221 | public static function exceptionConversionProvider() : iterable |
222 | 222 | { |
@@ -79,7 +79,7 @@ |
||
79 | 79 | } |
80 | 80 | |
81 | 81 | /** |
82 | - * @return string[][] |
|
82 | + * @return \Generator |
|
83 | 83 | */ |
84 | 84 | public static function statementProvider() : iterable |
85 | 85 | { |
@@ -163,6 +163,7 @@ |
||
163 | 163 | |
164 | 164 | /** |
165 | 165 | * @param array<int, int> $expectedResults |
166 | + * @param integer|null $limit |
|
166 | 167 | */ |
167 | 168 | private function assertLimitResult(array $expectedResults, string $sql, ?int $limit, int $offset, bool $deterministic = true) : void |
168 | 169 | { |
@@ -340,6 +340,7 @@ |
||
340 | 340 | * Returns the ID of the last inserted row or skips the test if the currently used driver |
341 | 341 | * doesn't support this feature |
342 | 342 | * |
343 | + * @param string $name |
|
343 | 344 | * @return string|false |
344 | 345 | * |
345 | 346 | * @throws DriverException |