diff --git a/lib/Doctrine/DBAL/Connection.php b/lib/Doctrine/DBAL/Connection.php index eaf5e404a4b..d901e2a97c9 100644 --- a/lib/Doctrine/DBAL/Connection.php +++ b/lib/Doctrine/DBAL/Connection.php @@ -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 @@ -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 */ @@ -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 */ @@ -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 {