Fixed wrong return types
Fixed code sniffer errors
Added vendor directory to test code coverage blacklist in Pagination module