Document null as a possible type

parent dc8d2f34
......@@ -1035,8 +1035,8 @@ class Connection implements DriverConnection
* This method supports PDO binding types as well as DBAL mapping types.
*
* @param string $query The SQL query.
* @param mixed[] $params The query parameters.
* @param int[]|string[] $types The parameter types.
* @param array<mixed> $params The query parameters.
* @param array<int|string|null> $types The parameter types.
*
* @return int The number of affected rows.
*
......
......@@ -12,7 +12,7 @@ interface SQLLogger
*
* @param string $sql The SQL to be executed.
* @param mixed[]|null $params The SQL parameters.
* @param int[]|string[]|null $types The SQL parameter types.
* @param array<int|string|null> $types The SQL parameter types.
*
* @return void
*/
......
......@@ -120,7 +120,7 @@ class SQLParserUtils
*
* @param string $query The SQL query to execute.
* @param mixed[] $params The parameters to bind to the query.
* @param int[]|string[] $types The types the previous parameters are in.
* @param array<string|int|null> $types The types the previous parameters are in.
*
* @return mixed[]
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment