Skip to content

Commit

Permalink
Revert complex type specification in Connection
Browse files Browse the repository at this point in the history
  • Loading branch information
Majkl578 authored and morozov committed Jun 6, 2018
1 parent d3a7aac commit 86cca80
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions lib/Doctrine/DBAL/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,7 @@ public function prepare(string $sql) : DriverStatement
*
* @param string $query The SQL query to execute.
* @param mixed[] $params The parameters to bind to the query, if any.
* @param (int|string|Type)[] $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.
*
* @throws DBALException
Expand Down Expand Up @@ -926,10 +926,10 @@ public function executeQuery(string $query, array $params = [], $types = [], ?Qu
/**
* Executes a caching query.
*
* @param string $query The SQL query to execute.
* @param mixed[] $params The parameters to bind to the query, if any.
* @param (int|string)|Type[] $types The types the previous parameters are in.
* @param QueryCacheProfile $qcp The query cache profile.
* @param string $query The SQL query to execute.
* @param mixed[] $params The parameters to bind to the query, if any.
* @param int[]|string[]|Type[] $types The types the previous parameters are in.
* @param QueryCacheProfile $qcp The query cache profile.
*
* @throws DBALException
*/
Expand Down Expand Up @@ -1016,9 +1016,9 @@ public function query(string $sql) : ResultStatement
*
* 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|Type)[] $types The parameter types.
* @param string $query The SQL query.
* @param mixed[] $params The query parameters.
* @param int[]|string[]|Type[] $types The parameter types.
*
* @throws DBALException
*/
Expand Down Expand Up @@ -1460,9 +1460,9 @@ public function convertToPHPValue($value, $type)
* Binds a set of parameters, some or all of which are typed with a PDO binding type
* or DBAL mapping type, to a given statement.
*
* @param DriverStatement $stmt The statement to bind the values to.
* @param mixed[] $params The map/list of named/positional parameters.
* @param (int|string|Type)[] $types The parameter types.
* @param DriverStatement $stmt The statement to bind the values to.
* @param mixed[] $params The map/list of named/positional parameters.
* @param int[]|string[]|Type[] $types The parameter types.
*/
private function _bindTypedValues(DriverStatement $stmt, array $params, array $types) : void
{
Expand Down

0 comments on commit 86cca80

Please sign in to comment.