Skip to content

Commit 9682286

Browse files
author
Leslie Lauw
committed
add filter to parcels to be able to filter the list
1 parent 56f1aea commit 9682286

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)