Closed weierophinney closed 6 years ago
@weierophinney I've created PR https://github.com/zendframework/zend-paginator/pull/32 for it
For version 2 of zend-paginator and zend-db we will accept #32. But for a future version the typehint must be an interface.
Per this thread on zf-apigility, the
DbTableGateway
constructor currently requires a concreteZend\Db\TableGateway\TableGateway
instance, but should likely acceptTableGatewayInterface
instead. This would be a type loosening, which does not pose a BC break, but which would simplify mocking, and allow for alternate implementations when desired.