Skip to content


[DDC-1961] Fixed parameter type support in Parameter #416

merged 1 commit into from

5 participants


No description provided.

@guilhermeblanco guilhermeblanco merged commit 3f2ddc6 into doctrine:2.3

This pull request passes (merged 3b3d762 into 992b51e).

Doctrine member

@guilhermeblanco how often did i tell you not to merge stuff into non master branches? :-)

Doctrine member

@beberlei Probably the same amount of times I use the excuse that I didn't see it. =) I'll add the same on master.

Doctrine member

@guilhermeblanco too late. @beberlei already cherry-picked it.

Doctrine member

@stof I saw that. =)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 31, 2012
  1. @Majkl578
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Doctrine/ORM/Query/Parameter.php
4 lib/Doctrine/ORM/Query/Parameter.php
@@ -54,7 +54,7 @@ public function __construct($name, $value, $type = null)
$this->name = trim($name, ':');
- $this->setValue($value);
+ $this->setValue($value, $type);
@@ -98,4 +98,4 @@ public function setValue($value, $type = null)
$this->value = $value;
$this->type = $type ?: ParameterTypeInferer::inferType($value);
Something went wrong with that request. Please try again.