| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | final class AvgFunction extends FunctionNode |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var AggregateExpression |
||
| 21 | */ |
||
| 22 | private $aggregateExpression; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @inheritDoc |
||
| 26 | */ |
||
| 27 | 3 | public function getSql(SqlWalker $sqlWalker): string |
|
| 28 | { |
||
| 29 | 3 | return $this->aggregateExpression->dispatch($sqlWalker); |
|
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @inheritDoc |
||
| 34 | */ |
||
| 35 | 3 | public function parse(Parser $parser): void |
|
| 38 | 3 | } |
|
| 39 | } |
||
| 40 |