| Total Complexity | 3 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class CalcFunc extends FuncComponent |
||
| 11 | { |
||
| 12 | use DialogTrait; |
||
|
|
|||
| 13 | |||
| 14 | /** |
||
| 15 | * @param CalculatorService $calculator |
||
| 16 | */ |
||
| 17 | public function __construct(private CalculatorService $calculator) |
||
| 18 | {} |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param string $operator |
||
| 22 | * @param string $operandA |
||
| 23 | * @param string $operandB |
||
| 24 | * |
||
| 25 | * @return void |
||
| 26 | */ |
||
| 27 | public function calculate(string $operator, string $operandA, string $operandB): void |
||
| 44 | } |
||
| 45 | } |
||
| 47 |