From 987d4ab4dc2336683e3800a0ea1faae2032a654b Mon Sep 17 00:00:00 2001 From: Yarosh Alexandr Date: Thu, 26 Sep 2019 10:53:09 +0300 Subject: [PATCH 1/2] add namespacing to main class; --- vero.php | 1 + 1 file changed, 1 insertion(+) diff --git a/vero.php b/vero.php index cdaee8f..89d759d 100644 --- a/vero.php +++ b/vero.php @@ -1,4 +1,5 @@ Date: Thu, 26 Sep 2019 11:02:57 +0300 Subject: [PATCH 2/2] fix namespace issue on Client class invocation; --- vero.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vero.php b/vero.php index 89d759d..edf508e 100644 --- a/vero.php +++ b/vero.php @@ -15,7 +15,7 @@ public function __construct($auth_token) { if (!$auth_token) throw new Exception("VeroClient auth_token parameter is required"); - $this->client = new Vero\Client($auth_token); + $this->client = new Client($auth_token); } public function identify($user_id, $email = null, $data = array()) {