From afa937a0c124c069ebd024dc2e8da648ca737487 Mon Sep 17 00:00:00 2001 From: briwa Date: Tue, 18 Apr 2023 21:08:22 +0900 Subject: [PATCH] Release v5.1.0 (#106) --- src/Customer.php | 2 +- src/Http/Client.php | 2 +- tests/Unit/Http/ClientTest.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Customer.php b/src/Customer.php index 25813fc..ed8a1e8 100644 --- a/src/Customer.php +++ b/src/Customer.php @@ -20,7 +20,7 @@ * @property-read string $email * @property-read string $status * @property-read string $customer_since - * @property-read string $attributes + * @property-read array $attributes * @property-read string $address * @property-read string $mrr * @property-read string $arr diff --git a/src/Http/Client.php b/src/Http/Client.php index 44b3d15..69620cd 100644 --- a/src/Http/Client.php +++ b/src/Http/Client.php @@ -30,7 +30,7 @@ class Client implements ClientInterface /** * @var string */ - private $apiVersion = '5.0.1'; + private $apiVersion = '5.1.0'; /** * @var string diff --git a/tests/Unit/Http/ClientTest.php b/tests/Unit/Http/ClientTest.php index 4d873b2..a713216 100644 --- a/tests/Unit/Http/ClientTest.php +++ b/tests/Unit/Http/ClientTest.php @@ -35,7 +35,7 @@ public function testGetUserAgent() ->onlyMethods([]) ->getMock(); - $this->assertEquals("chartmogul-php/5.0.1/PHP-".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION, $mock->getUserAgent()); + $this->assertEquals("chartmogul-php/5.1.0/PHP-".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION, $mock->getUserAgent()); } public function testGetBasicAuthHeader()