| Total Complexity | 3 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | trait ValidatesOperators |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @param string $operator |
||
| 11 | * @return bool |
||
| 12 | */ |
||
| 13 | 9 | public function isLogicalOperator(string $operator): bool |
|
| 16 | } |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @param string $operator |
||
| 20 | * @return bool |
||
| 21 | */ |
||
| 22 | 2 | public function isComparisonOperator(string $operator): bool |
|
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param string $operator |
||
| 29 | * @return bool |
||
| 30 | */ |
||
| 31 | 3 | public function isArithmeticOperator(string $operator): bool |
|
| 36 |