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.
...@@ -916,10 +916,10 @@ class Connection implements DriverConnection ...@@ -916,10 +916,10 @@ class Connection implements DriverConnection
/** /**
* Executes a caching query. * Executes a caching query.
* *
* @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
*/ */
...@@ -1008,9 +1008,9 @@ class Connection implements DriverConnection ...@@ -1008,9 +1008,9 @@ class Connection implements DriverConnection
* *
* This method supports PDO binding types as well as DBAL mapping types. * This method supports PDO binding types as well as DBAL mapping types.
* *
* @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
*/ */
...@@ -1457,11 +1457,9 @@ class Connection implements DriverConnection ...@@ -1457,11 +1457,9 @@ class Connection implements DriverConnection
* @internal Duck-typing used on the $stmt parameter to support driver statements as well as * @internal Duck-typing used on the $stmt parameter to support driver statements as well as
* raw PDOStatement instances. * raw PDOStatement instances.
* *
* @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