Update GoGetSSLApi.php

master
Igors Savins 2020-04-30 22:32:29 +03:00 committed by GitHub
parent 1957eb2f5c
commit 8ea9c3907e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -244,7 +244,7 @@ class GoGetSSLApi
public function getTotalOrders()
{
if (!$this->key) {
throw new GoGetSSLAuthException ();
throw new GoGetSSLAuthException();
}
return $this->call('/account/total_orders/', ['auth_key' => $this->key]);
@ -271,7 +271,7 @@ class GoGetSSLApi
public function getTotalTransactions()
{
if (!$this->key) {
throw new GoGetSSLAuthException ();
throw new GoGetSSLAuthException();
}
return $this->call('/account/total_transactions/', ['auth_key' => $this->key]);