| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 42 | 3 | public function getSql(SqlWalker $sqlWalker): string |
|
| 43 | { |
||
| 44 | 3 | $dispatched = [ |
|
| 45 | 3 | $this->getOptionalDistinctClause(), |
|
| 46 | 3 | $this->expression->dispatch($sqlWalker), |
|
| 47 | 3 | $this->getOptionalOrderByClause($sqlWalker), |
|
| 48 | 3 | ]; |
|
| 49 | |||
| 50 | 3 | return \vsprintf($this->functionPrototype, $dispatched); |
|
| 51 | } |
||
| 53 |