diff --git a/composer.json b/composer.json index ce9ef52..f4fd423 100644 --- a/composer.json +++ b/composer.json @@ -7,7 +7,7 @@ "symfony/config": "^5.0 || ^4.4", "symfony/dependency-injection": "^5.0 || ^4.4", "symfony/http-kernel": "^5.0 || ^4.4", - "jbtcd/fitbit": "^0.4.0" + "jbtcd/fitbit": "^0.5.0" }, "require-dev": { "phpunit/phpunit": "^9.5", diff --git a/composer.lock b/composer.lock index f5f6ea7..6cf13ff 100644 --- a/composer.lock +++ b/composer.lock @@ -4,20 +4,20 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "5549200580eba98e7acaa37643e7bed8", + "content-hash": "d470e48250debee633b068aca518fcff", "packages": [ { "name": "jbtcd/fitbit", - "version": "0.4.0", + "version": "0.5.1", "source": { "type": "git", "url": "https://github.com/jbtcd/fitbit-sdk-php.git", - "reference": "9228330415bbd6a9eb0508e26413b0851e3944c9" + "reference": "5c16b4599eb6a7ec2c6f71388914631bc7c14dc0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/jbtcd/fitbit-sdk-php/zipball/9228330415bbd6a9eb0508e26413b0851e3944c9", - "reference": "9228330415bbd6a9eb0508e26413b0851e3944c9", + "url": "https://api.github.com/repos/jbtcd/fitbit-sdk-php/zipball/5c16b4599eb6a7ec2c6f71388914631bc7c14dc0", + "reference": "5c16b4599eb6a7ec2c6f71388914631bc7c14dc0", "shasum": "" }, "require": { @@ -61,7 +61,7 @@ ], "support": { "issues": "https://github.com/jbtcd/fitbit-sdk-php/issues", - "source": "https://github.com/jbtcd/fitbit-sdk-php/tree/0.4.0" + "source": "https://github.com/jbtcd/fitbit-sdk-php/tree/0.5.1" }, "funding": [ { @@ -73,7 +73,7 @@ "type": "github" } ], - "time": "2020-12-06T23:12:43+00:00" + "time": "2020-12-09T14:36:20+00:00" }, { "name": "psr/container", diff --git a/src/DependencyInjection/FitbitExtension.php b/src/DependencyInjection/FitbitExtension.php index b677826..9d1dd67 100644 --- a/src/DependencyInjection/FitbitExtension.php +++ b/src/DependencyInjection/FitbitExtension.php @@ -41,5 +41,6 @@ public function load(array $configs, ContainerBuilder $container): void $definition->addMethodCall('setState', [$config['state']]); $definition->addMethodCall('setCodeChallenge', [$config['codeChallenge']]); $definition->addMethodCall('setCodeChallengeMethod', [$config['codeChallengeMethod']]); + $definition->addMethodCall('setAccessTokenEntityClass', [$config['accessTokenEntityClass']]); } }