Fixes #6812 : Zend\Paginator\Adapter\DbSelect::getItems should return array

Fixes #6812