Changed logic to allow joining games, and becoming friends
Added Spacing
This commit is contained in:
parent
c2997b3961
commit
96fb0d7e14
@ -127,12 +127,14 @@ class QueryExpressionVisitor extends ExpressionVisitor
|
|||||||
public function walkComparison(Comparison $comparison)
|
public function walkComparison(Comparison $comparison)
|
||||||
{
|
{
|
||||||
$parameterName = str_replace('.', '_', $comparison->getField());
|
$parameterName = str_replace('.', '_', $comparison->getField());
|
||||||
|
|
||||||
foreach($this->parameters as $parameter) {
|
foreach($this->parameters as $parameter) {
|
||||||
if($parameter->getName() === $parameterName) {
|
if($parameter->getName() === $parameterName) {
|
||||||
$parameterName .= '_' . count($this->parameters);
|
$parameterName .= '_' . count($this->parameters);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$parameter = new Parameter($parameterName, $this->walkValue($comparison->getValue()));
|
$parameter = new Parameter($parameterName, $this->walkValue($comparison->getValue()));
|
||||||
$placeholder = ':' . $parameterName;
|
$placeholder = ':' . $parameterName;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user