| Total Complexity | 6 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 2 | Features | 0 |
| 1 | <?php |
||
| 8 | class QueryBuilderMacros |
||
| 9 | { |
||
| 10 | public array $macrosParams = [ |
||
| 11 | ['RangeContains', '@>'], |
||
| 12 | ['RangeDoesNotExtendToTheLeftOf', '&>'], |
||
| 13 | ['RangeDoesNotExtendToTheRightOf', '&<'], |
||
| 14 | ['RangeAdjacentTo', '-|-'], |
||
| 15 | ['RangeIsContainedBy', '<@'], |
||
| 16 | ['RangeOverlaps', '&&'], |
||
| 17 | ['RangeStrictlyLeftOf', '<<'], |
||
| 18 | ['RangeStrictlyRightOf', '>>'], |
||
| 19 | |||
| 20 | ]; |
||
| 21 | |||
| 22 | public function register(): void |
||
| 49 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.