| Conditions | 2 |
| Paths | 2 |
| Total Lines | 5 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 25 | 23 | public function __construct(string $expression, string $as, string|DataType $outputType = DataType::FLOAT) |
|
| 26 | { |
||
| 27 | 23 | $this->name = $as; |
|
| 28 | 23 | $this->expression = $expression; |
|
| 29 | 23 | $this->outputType = is_string($outputType) ? DataType::from(strtolower($outputType)) : $outputType; |
|
| 30 | } |
||
| 47 |