@@ -60,6 +60,9 @@ |
||
60 | 60 | return new self($classFqn, $query['selects'], $query['joins'], $query['criteria'], $query['orderings'], $query['firstResult'], $query['maxResults']); |
61 | 61 | } |
62 | 62 | |
63 | + /** |
|
64 | + * @param string $value1 |
|
65 | + */ |
|
63 | 66 | public static function comparison(string $comparator, $value1, $value2): Comparison |
64 | 67 | { |
65 | 68 | return new Comparison($comparator, $value1, $value2); |
@@ -8,7 +8,6 @@ |
||
8 | 8 | use Doctrine\Common\Persistence\Mapping\MappingException; |
9 | 9 | use Doctrine\Common\Util\ClassUtils; |
10 | 10 | use Doctrine\ORM\EntityManagerInterface; |
11 | -use Doctrine\ORM\Query\Expr\Select; |
|
12 | 11 | use Doctrine\ORM\QueryBuilder; |
13 | 12 | use Psi\Component\ObjectAgent\AgentInterface; |
14 | 13 | use Psi\Component\ObjectAgent\Capabilities; |