From 217c55276fbf750ae6a3b516854c013973f7a655 Mon Sep 17 00:00:00 2001 From: Baspa Date: Fri, 30 Aug 2024 12:54:38 +0000 Subject: [PATCH] Fix styling --- src/Client.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Client.php b/src/Client.php index e3d29f5..2939390 100644 --- a/src/Client.php +++ b/src/Client.php @@ -24,7 +24,7 @@ public function search(string $search, array $params = []) $queryParams = array_merge([ 'naam' => $search, 'pagina' => $this->page ?? 1, - 'resultatenPerPagina' => $this->resultsPerPage ?? 10 + 'resultatenPerPagina' => $this->resultsPerPage ?? 10, ], $params); $data = $this->getData($queryParams); @@ -67,12 +67,14 @@ private function decodeJson(string $json) public function setPage(int $page) { $this->page = $page; + return $this; } public function setResultsPerPage(int $resultsPerPage) { $this->resultsPerPage = $resultsPerPage; + return $this; }