diff --git a/src/Client.php b/src/Client.php index c5af139..ecf3048 100644 --- a/src/Client.php +++ b/src/Client.php @@ -160,8 +160,8 @@ public function setBaseUrl(string $url) public function getDefaultParameters(): array { return [ - 'partner_id' => $this->partnerId, - 'shopid' => $this->shopId, + 'partner_id' => (int) $this->partnerId, + 'shopid' => (int) $this->shopId, 'timestamp' => time(), // Put the current UNIX timestamp when making a request ]; }