Unverified Commit 69b8cefa authored by Michael Moravec's avatar Michael Moravec Committed by Sergei Morozov

Merge pull request #3113 from Majkl578/revert-complex-type-spec

Revert complex type specification in Connection
parents 733c63a0 1eb4cf31
......@@ -870,7 +870,7 @@ class Connection implements DriverConnection
*
* @param string $query The SQL query to execute.
* @param mixed[] $params The parameters to bind to the query, if any.
* @param int[]|string[] $types The types the previous parameters are in.
* @param int[]|string[]|Type[] $types The types the previous parameters are in.
* @param QueryCacheProfile|null $qcp The query cache profile, optional.
*
* @return ResultStatement The executed statement.
......@@ -918,7 +918,7 @@ class Connection implements DriverConnection
*
* @param string $query The SQL query to execute.
* @param mixed[] $params The parameters to bind to the query, if any.
* @param int[]|string[] $types The types the previous parameters are in.
* @param int[]|string[]|Type[] $types The types the previous parameters are in.
* @param QueryCacheProfile $qcp The query cache profile.
*
* @throws CacheException
......@@ -1010,7 +1010,7 @@ class Connection implements DriverConnection
*
* @param string $query The SQL query.
* @param mixed[] $params The query parameters.
* @param int[]|string[] $types The parameter types.
* @param int[]|string[]|Type[] $types The parameter types.
*
* @throws DBALException
*/
......@@ -1459,9 +1459,7 @@ class Connection implements DriverConnection
*
* @param DriverStatement $stmt The statement to bind the values to.
* @param mixed[] $params The map/list of named/positional parameters.
* @param int[]|string[] $types The parameter types (PDO binding types or DBAL mapping types).
*
* @return void
* @param int[]|string[]|Type[] $types The parameter types.
*/
private function _bindTypedValues(DriverStatement $stmt, array $params, array $types) : void
{
......
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