Closed pavarnos closed 7 years ago
This PR is not as smooth and simple as #116 because Common\Select::page/paging has complex interactions with limit/offset. But: note the improvement in code quality: Scrutinizer reports 9.34 (up from 8.8?), mostly influenced by Common\Select
similar to #116: the code for limit() and offset() was duplicated in several classes. Extracted the common code to traits, added getLimit() and getOffset() to the relevant interfaces.