[BUG]: Different types for Query\BuilderInterface::orderBy() and Query\Builder::orderBy(). #15415
Labels
5.0
The issues we want to solve in the 5.0 release
breaks bc
Functionality that breaks Backwards Compatibility
bug
A bug report
status: high
High
Describe the bug
Different types are specified for the
Phalcon\Mvc\Model\Query\Builder::orderBy()
andPhalcon\Mvc\Model\Query\BuilderInterface::orderBy()
To Reproduce
cphalcon/phalcon/Mvc/Model/Query/Builder.zep
Lines 1309 to 1316 in 0d8e2b6
cphalcon/phalcon/Mvc/Model/Query/BuilderInterface.zep
Line 226 in 0d8e2b6
Expected behavior
Most likely an error in the interface, since the type allows arrays.
Probably this is also must be fixed in 5.x.
Details
The text was updated successfully, but these errors were encountered: