@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | $criteria = [ |
94 | 94 | 'field' => $fieldName, |
95 | 95 | 'alias' => 'test', |
96 | - 'where' => WhereType::AND, |
|
96 | + 'where' => WhereType:: AND , |
|
97 | 97 | 'value' => 123, |
98 | 98 | 'format' => null, |
99 | 99 | ]; |
@@ -113,17 +113,17 @@ discard block |
||
113 | 113 | /** @var Expr\Comparison|MockObject $eq */ |
114 | 114 | $eq = $this->createMock(Expr\Comparison::class); |
115 | 115 | |
116 | - $isEqualString = $criteria['alias'] . '.' . $fieldName . '=' . ':param_name'; |
|
116 | + $isEqualString = $criteria['alias'].'.'.$fieldName.'='.':param_name'; |
|
117 | 117 | $expr->expects($this->once()) |
118 | 118 | ->method('eq') |
119 | - ->with($criteria['alias'] . '.' . $fieldName, $this->stringStartsWith(':')) |
|
119 | + ->with($criteria['alias'].'.'.$fieldName, $this->stringStartsWith(':')) |
|
120 | 120 | ->willReturn($eq); |
121 | 121 | |
122 | 122 | $eq->expects($this->once()) |
123 | 123 | ->method('__toString') |
124 | 124 | ->willReturn($isEqualString); |
125 | 125 | |
126 | - $methodName = (!isset($criteria['where']) || WhereType::AND === $criteria['where']) |
|
126 | + $methodName = (!isset($criteria['where']) || WhereType:: AND === $criteria['where']) |
|
127 | 127 | ? 'andWhere' |
128 | 128 | : 'orWhere'; |
129 | 129 |