Skip to content

Commit 0577f7a

Browse files
vvolvLKaemmerling
authored andcommitted
Wrong parameter responsible for pagination (#29)
1 parent acf1fb8 commit 0577f7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/RequestOpts.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class RequestOpts
1919
/**
2020
* @var int
2121
*/
22-
public $perPage;
22+
public $per_page;
2323

2424

2525
/**
@@ -41,7 +41,7 @@ class RequestOpts
4141
*/
4242
public function __construct(int $perPage = null, int $page = null, string $labelSelector = null)
4343
{
44-
$this->perPage = $perPage;
44+
$this->per_page = $perPage;
4545
$this->page = $page;
4646
$this->labelSelector = $labelSelector;
4747
}

0 commit comments

Comments
 (0)