1
0
mirror of synced 2025-02-09 08:49:26 +03:00

Update QueryBuilder.php

Hello,

thank you very much for your work, it's awesome!
I found a minor error in PHPDOC for method setParameter. Argument "type" can be a string or null but can be also an int if it comes from \PDO::PARAM_*. So I've changed typehint "string" into "mixed".
This commit is contained in:
Franck Magnan 2017-05-23 15:24:24 +02:00 committed by Luís Cobucci
parent 6ea30f0354
commit db528a44b1
No known key found for this signature in database
GPG Key ID: EC61C5F01750ED3C

View File

@ -526,7 +526,7 @@ class QueryBuilder
*
* @param string|integer $key The parameter position or name.
* @param mixed $value The parameter value.
* @param string|null $type PDO::PARAM_* or \Doctrine\DBAL\Types\Type::* constant
* @param string|integer|null $type PDO::PARAM_* or \Doctrine\DBAL\Types\Type::* constant
*
* @return self
*/