Skip to content

Commit 7c38e90

Browse files
authored
Merge pull request #7 from LALauw/add-filter-to-parcels
add filter to parcels to be able to filter the list
2 parents 56f1aea + 9682286 commit 7c38e90

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/Endpoints/ParcelEndpoint.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,13 @@ public function get($id)
4444
}
4545

4646
/**
47+
* @param array $filters
4748
* @return ParcelCollection
4849
* @throws ApiException
4950
*/
50-
public function list()
51+
public function list(array $filters = [])
5152
{
52-
return $this->restList();
53+
return $this->restList($filters);
5354
}
5455

5556
/**

0 commit comments

Comments
 (0)