Unverified Commit 1eb4cf31 authored by Michael Moravec's avatar Michael Moravec Committed by Sergei Morozov

Revert complex type specification in Connection

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