From 5568a8c1cc40bea27ecc7599fb7ef244debfb893 Mon Sep 17 00:00:00 2001 From: codemasher Date: Thu, 9 Aug 2018 03:27:15 +0200 Subject: [PATCH] :sparkles: --- examples/oauth-example-common.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/examples/oauth-example-common.php b/examples/oauth-example-common.php index a46610a6..8c0c279e 100644 --- a/examples/oauth-example-common.php +++ b/examples/oauth-example-common.php @@ -19,9 +19,7 @@ use chillerlan\OAuth\{ OAuthOptions, Storage\SessionStorage }; -use chillerlan\Traits\{ - ContainerInterface, DotEnv -}; +use chillerlan\Traits\{DotEnv, ImmutableSettingsInterface}; ini_set('date.timezone', 'Europe/Amsterdam'); @@ -60,7 +58,7 @@ 'sleep' => 0.25, ]; -/** @var \chillerlan\Traits\ContainerInterface $options */ +/** @var \chillerlan\Traits\ImmutableSettingsInterface $options */ $options = new class($options_arr) extends OAuthOptions{ use DatabaseOptionsTrait, LogOptionsTrait; @@ -75,7 +73,7 @@ protected $client; - public function __construct(ContainerInterface $options){ + public function __construct(ImmutableSettingsInterface $options){ parent::__construct($options); $this->client = new CurlClient($this->options); }