Skip to content

Commit 72cddfb

Browse files
Majkl578morozov
authored andcommitted
Merge pull request #3113 from Majkl578/revert-complex-type-spec
Revert complex type specification in Connection
2 parents 8916e26 + 472fb98 commit 72cddfb

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
@@ -882,7 +882,7 @@ public function prepare(string $sql) : DriverStatement
882882
*
883883
* @param string $query The SQL query to execute.
884884
* @param mixed[] $params The parameters to bind to the query, if any.
885-
* @param (int|string|Type)[] $types The types the previous parameters are in.
885+
* @param int[]|string[]|Type[] $types The types the previous parameters are in.
886886
* @param QueryCacheProfile|null $qcp The query cache profile, optional.
887887
*
888888
* @throws DBALException
@@ -926,10 +926,10 @@ public function executeQuery(string $query, array $params = [], $types = [], ?Qu
926926
/**
927927
* Executes a caching query.
928928
*
929-
* @param string $query The SQL query to execute.
930-
* @param mixed[] $params The parameters to bind to the query, if any.
931-
* @param (int|string)|Type[] $types The types the previous parameters are in.
932-
* @param QueryCacheProfile $qcp The query cache profile.
929+
* @param string $query The SQL query to execute.
930+
* @param mixed[] $params The parameters to bind to the query, if any.
931+
* @param int[]|string[]|Type[] $types The types the previous parameters are in.
932+
* @param QueryCacheProfile $qcp The query cache profile.
933933
*
934934
* @throws DBALException
935935
*/
@@ -1016,9 +1016,9 @@ public function query(string $sql) : ResultStatement
10161016
*
10171017
* This method supports PDO binding types as well as DBAL mapping types.
10181018
*
1019-
* @param string $query The SQL query.
1020-
* @param mixed[] $params The query parameters.
1021-
* @param (int|string|Type)[] $types The parameter types.
1019+
* @param string $query The SQL query.
1020+
* @param mixed[] $params The query parameters.
1021+
* @param int[]|string[]|Type[] $types The parameter types.
10221022
*
10231023
* @throws DBALException
10241024
*/
@@ -1460,9 +1460,9 @@ public function convertToPHPValue($value, $type)
14601460
* Binds a set of parameters, some or all of which are typed with a PDO binding type
14611461
* or DBAL mapping type, to a given statement.
14621462
*
1463-
* @param DriverStatement $stmt The statement to bind the values to.
1464-
* @param mixed[] $params The map/list of named/positional parameters.
1465-
* @param (int|string|Type)[] $types The parameter types.
1463+
* @param DriverStatement $stmt The statement to bind the values to.
1464+
* @param mixed[] $params The map/list of named/positional parameters.
1465+
* @param int[]|string[]|Type[] $types The parameter types.
14661466
*/
14671467
private function _bindTypedValues(DriverStatement $stmt, array $params, array $types) : void
14681468
{

0 commit comments

Comments
 (0)