From c960c12285e6116ed3e03dbba3990cfe0598d577 Mon Sep 17 00:00:00 2001 From: Deus Kane Date: Wed, 24 Aug 2022 14:24:33 +0100 Subject: [PATCH] updated compatibility to allow use of new oauth bundle Tested-by: marge-bot Part-of: --- Resources/config/services.yml | 1 + composer.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Resources/config/services.yml b/Resources/config/services.yml index 1f5543f..1c04957 100644 --- a/Resources/config/services.yml +++ b/Resources/config/services.yml @@ -30,6 +30,7 @@ services: GuzzleHttp\HandlerStack: '@jsonldclient.handlerstack' Bookboon\ApiBundle\Helper\GuzzleDecorator: + class: GuzzleHttp\HandlerStack decorates: jsonldclient.handlerstack factory: ['Bookboon\ApiBundle\Helper\GuzzleDecorator', 'decorate'] bind: diff --git a/composer.json b/composer.json index adea195..450b7a5 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ "symfony/cache": "^5.0|^6.0", "bookboon/jsonld-client": "^2.6", "bookboon/api-models-php": "^1.2", - "bookboon/oauth2-client-php": "^1.0" + "bookboon/oauth2-client-php": "^1.0|^2.0" }, "require-dev": { "vimeo/psalm": "^4.1"