From f8d0d9252ffc77fed7687ace389f0e6e6f81f6c6 Mon Sep 17 00:00:00 2001 From: Thibaud Fabre Date: Tue, 10 Feb 2015 19:51:51 +0100 Subject: [PATCH] Resolve session setting using strict mode --- src/Phinject/OauthActivator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Phinject/OauthActivator.php b/src/Phinject/OauthActivator.php index ffb487a..91d79ee 100644 --- a/src/Phinject/OauthActivator.php +++ b/src/Phinject/OauthActivator.php @@ -52,7 +52,7 @@ public function createInstance(Container $container, ArrayResolver $serviceConfi } $oauthProviders = new ClientAdapterCollection(); - $session = $container->resolve($serviceConfig->resolve('session')); + $session = $container->resolve($serviceConfig->resolveStrict('session')); $oauthProviderConfig = $container->resolve($serviceConfig->resolve('oauth', [], false));