| Total Complexity | 3 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | trait CompilesGroups |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Compile the "group by" portions of the query. |
||
| 11 | * |
||
| 12 | * @param Builder $builder |
||
| 13 | * @param string[] $groups |
||
| 14 | * @return Builder |
||
| 15 | */ |
||
| 16 | 5 | protected function compileGroups(Builder $builder, array $groups) |
|
| 27 | } |
||
| 28 | /** |
||
| 29 | * Compile the "group by" portions of the query. |
||
| 30 | * |
||
| 31 | * @param Builder $builder |
||
| 32 | * @param string[] $groups |
||
| 33 | * @return Builder |
||
| 34 | */ |
||
| 35 | 3 | protected function compileHavings(Builder $builder, array $havings) |
|
| 40 |
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.