File tree Expand file tree Collapse file tree 5 files changed +8
-4
lines changed
Expand file tree Collapse file tree 5 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1717```
1818{
1919 "require": {
20- "recombee/php-api-client": "^4.1.0 "
20+ "recombee/php-api-client": "^4.1.1 "
2121 }
2222}
2323```
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ class Client{
2222 protected $ protocol ;
2323 protected $ base_uri ;
2424 protected $ options ;
25+ protected $ user_agent ;
2526 protected $ guzzle_client ;
2627
2728 /**
@@ -85,7 +86,7 @@ protected function getBaseUri() {
8586 }
8687
8788 protected function getUserAgent () {
88- $ user_agent = 'recombee-php-api-client/4.1.0 ' ;
89+ $ user_agent = 'recombee-php-api-client/4.1.1 ' ;
8990 if (isset ($ this ->options ['serviceName ' ]))
9091 $ user_agent .= ' ' .($ this ->options ['serviceName ' ]);
9192 return $ user_agent ;
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ class DeleteMoreItems extends Request {
2626 */
2727 public function __construct ($ filter ) {
2828 $ this ->filter = $ filter ;
29- $ this ->timeout = 1000 ;
29+ $ this ->timeout = 100000 ;
3030 $ this ->ensure_https = false ;
3131 }
3232
Original file line number Diff line number Diff line change @@ -25,6 +25,9 @@ abstract class SetValues extends Request {
2525 */
2626 protected $ values ;
2727
28+ /**
29+ * @var array $optional Optional parameters of the request. An array containing pairs name of the parameter => value.
30+ */
2831 protected $ optional ;
2932
3033 /**
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ class UpdateMoreItems extends Request {
3838 public function __construct ($ filter , $ changes ) {
3939 $ this ->filter = $ filter ;
4040 $ this ->changes = $ changes ;
41- $ this ->timeout = 1000 ;
41+ $ this ->timeout = 100000 ;
4242 $ this ->ensure_https = false ;
4343 }
4444
You can’t perform that action at this time.
0 commit comments