Skip to content

Commit b4d1134

Browse files
committed
Merge branch 'feature/kvk-v2' of https://github.com/vormkracht10/kvk-api into feature/kvk-v2
2 parents a8296f1 + 217c552 commit b4d1134

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Client.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function search(string $search, array $params = [])
2424
$queryParams = array_merge([
2525
'naam' => $search,
2626
'pagina' => $this->page ?? 1,
27-
'resultatenPerPagina' => $this->resultsPerPage ?? 10
27+
'resultatenPerPagina' => $this->resultsPerPage ?? 10,
2828
], $params);
2929
$data = $this->getData($queryParams);
3030

@@ -67,12 +67,14 @@ private function decodeJson(string $json)
6767
public function setPage(int $page)
6868
{
6969
$this->page = $page;
70+
7071
return $this;
7172
}
7273

7374
public function setResultsPerPage(int $resultsPerPage)
7475
{
7576
$this->resultsPerPage = $resultsPerPage;
77+
7678
return $this;
7779
}
7880

0 commit comments

Comments
 (0)