We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eebb0cf commit a472550Copy full SHA for a472550
src/RecommApi/Client.php
@@ -10,6 +10,7 @@
10
use Recombee\RecommApi\Exceptions\ResponseException;
11
use Recombee\RecommApi\Exceptions\ApiTimeoutException;
12
use Recombee\RecommApi\Util\Util;
13
+use SensitiveParameter;
14
15
/**
16
* Client for easy usage of Recombee recommendation API
@@ -36,7 +37,12 @@ class Client{
36
37
* @param string $token Secret token
38
* @param array $options Other custom options
39
*/
- public function __construct($account, $token, $options = array()) {
40
+ public function __construct(
41
+ $account,
42
+ #[SensitiveParameter]
43
+ $token,
44
+ $options = array()
45
+ ) {
46
$this->account = $account;
47
$this->token = $token;
48
0 commit comments