XFES's FunctionOrder & Query::orderedBy() type hint incompatibility

XFES uses 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.

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ