There was an error while loading. Please reload this page.
1 parent 9d80465 commit 7541ac7Copy full SHA for 7541ac7
src/Stack/OAuth/ContainerConfig.php
@@ -34,8 +34,10 @@ public function process(Pimple $container)
34
return new StreamClient();
35
});
36
37
+ $container['oauth_service.class'] = 'OAuth\OAuth1\Service\Twitter';
38
+
39
$container['oauth_service'] = $container->share(function ($container) {
- return new Twitter(
40
+ return new $container['oauth_service.class'](
41
$container['credentials'],
42
$container['http_client'],
43
$container['storage'],
0 commit comments