@@ -2,9 +2,9 @@ |
||
2 | 2 | |
3 | 3 | require '../vendor/autoload.php'; |
4 | 4 | |
5 | -$companyId = 0000;// company id provided by Kobas |
|
6 | -$clientId = '';// client id provided by Kobas |
|
7 | -$clientSecret = '';// client secret provided by Kobas |
|
5 | +$companyId = 0000; // company id provided by Kobas |
|
6 | +$clientId = ''; // client id provided by Kobas |
|
7 | +$clientSecret = ''; // client secret provided by Kobas |
|
8 | 8 | $clientScope = ''; // client scope provided by Kobas |
9 | 9 | |
10 | 10 | $provider = new \Kobas\APIClient\Auth\Provider($companyId, $clientId, $clientSecret, $clientScope); |
@@ -2,9 +2,9 @@ |
||
2 | 2 | |
3 | 3 | require '../vendor/autoload.php'; |
4 | 4 | |
5 | -$companyId = 0000;// company id provided by Kobas |
|
6 | -$clientId = '';// client id provided by Kobas |
|
7 | -$clientSecret = '';// client secret provided by Kobas |
|
5 | +$companyId = 0000; // company id provided by Kobas |
|
6 | +$clientId = ''; // client id provided by Kobas |
|
7 | +$clientSecret = ''; // client secret provided by Kobas |
|
8 | 8 | $clientScope = ''; // client scope provided by Kobas |
9 | 9 | |
10 | 10 | $provider = new \Kobas\APIClient\Auth\Provider($companyId, $clientId, $clientSecret, $clientScope); |
@@ -50,10 +50,10 @@ |
||
50 | 50 | */ |
51 | 51 | public function __construct($companyId, $clientId, $clientSecret, $scopes) |
52 | 52 | { |
53 | - $this->companyId = (int)$companyId; |
|
54 | - $this->clientId = (string)$clientId; |
|
55 | - $this->clientSecret = (string)$clientSecret; |
|
56 | - $this->scopes = (string)$scopes; |
|
53 | + $this->companyId = (int) $companyId; |
|
54 | + $this->clientId = (string) $clientId; |
|
55 | + $this->clientSecret = (string) $clientSecret; |
|
56 | + $this->scopes = (string) $scopes; |
|
57 | 57 | } |
58 | 58 | |
59 | 59 | /** |