Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support new aggregation operators in builder (doctrine#2514)
* Add interfaces for aggregation pipeline operators * Implement new aggregation pipeline operators in stages * Update static analysis baselines * Use consistent formatting for operators with optional arguments * Use consistent capitalisation for "date object" * Wrap docblock comments * Rename ensureArray to something more descriptive * Remove duplicated docblocks * Use func_get_args when proxying expression methods * Fix wrong return types for internal expr methods * Use func_get_args for operators where possible * Disambiguate closure param in tests * Fix docblock errors Note: ProvidesGroupAccumulatorOperators errors were ignored as the trait is designed to be used in conjunction with the corresponding interface. * Make initArgs parameter for $accumulator optional * Use static return types across aggregation builder * Fix handling of optional parameters for $range and $slice
- Loading branch information