File tree 5 files changed +8
-4
lines changed
5 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 17
17
```
18
18
{
19
19
"require": {
20
- "recombee/php-api-client": "^4.1.0 "
20
+ "recombee/php-api-client": "^4.1.1 "
21
21
}
22
22
}
23
23
```
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ class Client{
22
22
protected $ protocol ;
23
23
protected $ base_uri ;
24
24
protected $ options ;
25
+ protected $ user_agent ;
25
26
protected $ guzzle_client ;
26
27
27
28
/**
@@ -85,7 +86,7 @@ protected function getBaseUri() {
85
86
}
86
87
87
88
protected function getUserAgent () {
88
- $ user_agent = 'recombee-php-api-client/4.1.0 ' ;
89
+ $ user_agent = 'recombee-php-api-client/4.1.1 ' ;
89
90
if (isset ($ this ->options ['serviceName ' ]))
90
91
$ user_agent .= ' ' .($ this ->options ['serviceName ' ]);
91
92
return $ user_agent ;
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ class DeleteMoreItems extends Request {
26
26
*/
27
27
public function __construct ($ filter ) {
28
28
$ this ->filter = $ filter ;
29
- $ this ->timeout = 1000 ;
29
+ $ this ->timeout = 100000 ;
30
30
$ this ->ensure_https = false ;
31
31
}
32
32
Original file line number Diff line number Diff line change @@ -25,6 +25,9 @@ abstract class SetValues extends Request {
25
25
*/
26
26
protected $ values ;
27
27
28
+ /**
29
+ * @var array $optional Optional parameters of the request. An array containing pairs name of the parameter => value.
30
+ */
28
31
protected $ optional ;
29
32
30
33
/**
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ class UpdateMoreItems extends Request {
38
38
public function __construct ($ filter , $ changes ) {
39
39
$ this ->filter = $ filter ;
40
40
$ this ->changes = $ changes ;
41
- $ this ->timeout = 1000 ;
41
+ $ this ->timeout = 100000 ;
42
42
$ this ->ensure_https = false ;
43
43
}
44
44
You can’t perform that action at this time.
0 commit comments