title: Doctrine setParameter and Invalid parameter number
body: <p>After many tries, I think I finally know the documentation by heart.
  Then, I need your help .. I don't understand why Doctrine show me this error :</p>
  
  <blockquote>
    <p>Invalid parameter number: number of bound variables does not match
    number of tokens</p>
  </blockquote>
  
  <p>Here is my code :</p>
  
  <pre><code>$qb = $this-&gt;em-&gt;createQueryBuilder();
  $qb-&gt;select('m')
     -&gt;from('Entities\Marque', 'm')
     -&gt;leftJoin('m.magasin', 'ma')
     -&gt;where('m.nom = :marque AND ma.nom LIKE :magasin')
     -&gt;setParameter('marque', $marque)
     -&gt;setParameter('magasin', '%'.$matchesNumber[1].'%');
  $results = $qb-&gt;getQuery()-&gt;getArrayResult();
  </code></pre>
  
  <p>Thank you in advance for your answer.</p>