Skip to content

Commit acb8057

Browse files
Majkl578morozov
authored andcommitted
Merge pull request #3113 from Majkl578/revert-complex-type-spec
Revert complex type specification in Connection
2 parents 854ad8c + 0ed213a commit acb8057

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

lib/Doctrine/DBAL/Connection.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -885,7 +885,7 @@ public function prepare(string $sql) : DriverStatement
885885
*
886886
* @param string $query The SQL query to execute.
887887
* @param mixed[] $params The parameters to bind to the query, if any.
888-
* @param (int|string|Type)[] $types The types the previous parameters are in.
888+
* @param int[]|string[]|Type[] $types The types the previous parameters are in.
889889
* @param QueryCacheProfile|null $qcp The query cache profile, optional.
890890
*
891891
* @return ResultStatement The executed statement.
@@ -931,10 +931,10 @@ public function executeQuery(string $query, array $params = [], $types = [], ?Qu
931931
/**
932932
* Executes a caching query.
933933
*
934-
* @param string $query The SQL query to execute.
935-
* @param mixed[] $params The parameters to bind to the query, if any.
936-
* @param (int|string)|Type[] $types The types the previous parameters are in.
937-
* @param QueryCacheProfile $qcp The query cache profile.
934+
* @param string $query The SQL query to execute.
935+
* @param mixed[] $params The parameters to bind to the query, if any.
936+
* @param int[]|string[]|Type[] $types The types the previous parameters are in.
937+
* @param QueryCacheProfile $qcp The query cache profile.
938938
*
939939
* @return ResultStatement
940940
*
@@ -1023,9 +1023,9 @@ public function query(string $sql) : ResultStatement
10231023
*
10241024
* This method supports PDO binding types as well as DBAL mapping types.
10251025
*
1026-
* @param string $query The SQL query.
1027-
* @param mixed[] $params The query parameters.
1028-
* @param (int|string|Type)[] $types The parameter types.
1026+
* @param string $query The SQL query.
1027+
* @param mixed[] $params The query parameters.
1028+
* @param int[]|string[]|Type[] $types The parameter types.
10291029
*
10301030
* @throws DBALException
10311031
*/
@@ -1467,9 +1467,9 @@ public function convertToPHPValue($value, $type)
14671467
* Binds a set of parameters, some or all of which are typed with a PDO binding type
14681468
* or DBAL mapping type, to a given statement.
14691469
*
1470-
* @param DriverStatement $stmt The statement to bind the values to.
1471-
* @param mixed[] $params The map/list of named/positional parameters.
1472-
* @param (int|string|Type)[] $types The parameter types.
1470+
* @param DriverStatement $stmt The statement to bind the values to.
1471+
* @param mixed[] $params The map/list of named/positional parameters.
1472+
* @param int[]|string[]|Type[] $types The parameter types.
14731473
*/
14741474
private function _bindTypedValues(DriverStatement $stmt, array $params, array $types) : void
14751475
{

0 commit comments

Comments
 (0)