@@ -12,6 +12,7 @@ |
||
12 | 12 | |
13 | 13 | /** |
14 | 14 | * {@inheritdoc} |
15 | + * @param \Doctrine\DBAL\Query\QueryBuilder $target |
|
15 | 16 | */ |
16 | 17 | public function applyFilter($target, array $parameters, array $operators, ExecutionContext $context) |
17 | 18 | { |
@@ -7,10 +7,14 @@ |
||
7 | 7 | |
8 | 8 | trait FilterTrait |
9 | 9 | { |
10 | + /** |
|
11 | + * @param \Doctrine\ORM\QueryBuilder $target |
|
12 | + */ |
|
10 | 13 | abstract protected function execute($target, array $operators, array $parameters); |
11 | 14 | |
12 | 15 | /** |
13 | 16 | * {@inheritdoc} |
17 | + * @param \Doctrine\ORM\QueryBuilder $target |
|
14 | 18 | */ |
15 | 19 | public function applyFilter($target, array $parameters, array $operators, ExecutionContext $context) |
16 | 20 | { |
@@ -112,6 +112,9 @@ discard block |
||
112 | 112 | return $this->compileRuntimeOperator($operatorName, $element->getArguments(), $handle, $eldnah); |
113 | 113 | } |
114 | 114 | |
115 | + /** |
|
116 | + * @param string $operatorName |
|
117 | + */ |
|
115 | 118 | private function compileRuntimeOperator($operatorName, array $arguments, &$handle = null, $eldnah = null) |
116 | 119 | { |
117 | 120 | $compiledArguments = array_map(function ($argument) use (&$handle, $eldnah) { |
@@ -122,6 +125,9 @@ discard block |
||
122 | 125 | return sprintf('call_user_func($operators["%s"]%s)', $operatorName, $inlinedArguments); |
123 | 126 | } |
124 | 127 | |
128 | + /** |
|
129 | + * @param string $operatorName |
|
130 | + */ |
|
125 | 131 | private function compileInlineOperator($operatorName, array $arguments, &$handle = null, $eldnah = null) |
126 | 132 | { |
127 | 133 | $operatorCallable = $this->operators->getInlineOperator($operatorName); |