Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

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

Merged
merged 1 commit into from over 1 year ago

5 participants

Michael Moravec Don't Add Me To Your Organization a.k.a The Travis Bot Benjamin Eberlei Guilherme Blanco Christophe Coevoet
Michael Moravec

No description provided.

Guilherme Blanco guilhermeblanco merged commit 3f2ddc6 into from July 31, 2012
Guilherme Blanco guilhermeblanco closed this July 31, 2012
Don't Add Me To Your Organization a.k.a The Travis Bot

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

Benjamin Eberlei
Owner

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

Guilherme Blanco

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

Christophe Coevoet
stof commented August 01, 2012

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

Guilherme Blanco

@stof I saw that. =)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Jul 31, 2012
Michael Moravec [DDC-1961] Fixed parameter type support in Parameter 3b3d762
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  lib/Doctrine/ORM/Query/Parameter.php
4  lib/Doctrine/ORM/Query/Parameter.php
@@ -54,7 +54,7 @@ public function __construct($name, $value, $type = null)
54 54
     {
55 55
         $this->name  = trim($name, ':');
56 56
 
57  
-        $this->setValue($value);
  57
+        $this->setValue($value, $type);
58 58
     }
59 59
 
60 60
     /**
@@ -98,4 +98,4 @@ public function setValue($value, $type = null)
98 98
         $this->value = $value;
99 99
         $this->type  = $type ?: ParameterTypeInferer::inferType($value);
100 100
     }
101  
-}
  101
+}
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.