small fixes

Signed-off-by: Maurice Preuß (envoyr) <hello@envoyr.com>
This commit is contained in:
2025-04-30 06:43:07 +02:00
parent 5b2b3c72cc
commit 71663bffd8
9 changed files with 63 additions and 12 deletions

View File

@@ -18,9 +18,9 @@ trait ManagesOrders
* @throws RequestRequiresClientIdException
* @throws GuzzleException
*/
public function orders(): Orders
public function orders(array $parameters = []): Orders
{
return (new Orders($this->request('GET', 'v1/orders')))
return (new Orders($this->request('GET', 'v1/orders', [], $parameters)))
->setBillable($this);
}
}