Total Complexity | 3 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
6 | class DefaultSettings implements Interfaces\ISettings |
||
7 | { |
||
8 | protected int $maxResults = 0; |
||
9 | protected int $limitPerPage = 0; |
||
10 | |||
11 | 1 | public function __construct(int $limitPerPage, int $maxResults) |
|
15 | 1 | } |
|
16 | |||
17 | 1 | public function getMaxResults(): int |
|
18 | { |
||
19 | 1 | return $this->maxResults; |
|
20 | } |
||
21 | |||
22 | 1 | public function getLimit(): int |
|
25 | } |
||
26 | } |
||
27 |