We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0640a3c commit 4ad8b08Copy full SHA for 4ad8b08
src/Table/Population.php
@@ -13,11 +13,11 @@ class Population extends PopulationTable
13
{
14
public function getCollection(?int $startIndex = null, ?int $count = null): Model\PopulationCollection
15
16
- if (empty($startIndex) || $startIndex < 0) {
+ if ($startIndex === null || $startIndex < 0) {
17
$startIndex = 0;
18
}
19
20
- if (empty($count) || $count < 1 || $count > 1024) {
+ if ($count === null || $count < 1 || $count > 1024) {
21
$count = 16;
22
23
0 commit comments