We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a8296f1 + 217c552 commit b4d1134Copy full SHA for b4d1134
src/Client.php
@@ -24,7 +24,7 @@ public function search(string $search, array $params = [])
24
$queryParams = array_merge([
25
'naam' => $search,
26
'pagina' => $this->page ?? 1,
27
- 'resultatenPerPagina' => $this->resultsPerPage ?? 10
+ 'resultatenPerPagina' => $this->resultsPerPage ?? 10,
28
], $params);
29
$data = $this->getData($queryParams);
30
@@ -67,12 +67,14 @@ private function decodeJson(string $json)
67
public function setPage(int $page)
68
{
69
$this->page = $page;
70
+
71
return $this;
72
}
73
74
public function setResultsPerPage(int $resultsPerPage)
75
76
$this->resultsPerPage = $resultsPerPage;
77
78
79
80
0 commit comments