- Affected version
- 2.3.2
XFES uses
This gives a false positive about an incompatible argument type
It would be nice if
XFES\Search\Query\FunctionOrder
in some cases which is passed to orderedBy
. However has the signature; Query::orderedBy(string|SqlOrder $order) :: static
.This gives a false positive about an incompatible argument type
It would be nice if
FunctionOrder
had a common base that was accepted by Query::orderedBy
. That is FunctionOrder
and SqlOrder
should descend from a common base class.