Total Complexity | 10 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
13 | trait TTranslate |
||
14 | { |
||
15 | /** |
||
16 | * @param int $type |
||
17 | * @param mixed $input |
||
18 | * @return bool|float|int|mixed|string |
||
19 | */ |
||
20 | 15 | protected function translateTypeFrom(int $type, $input) |
|
34 | } |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * @param int $type |
||
39 | * @param mixed $input |
||
40 | * @return string |
||
41 | */ |
||
42 | 11 | protected function translateTypeTo(int $type, $input): string |
|
55 |