From 8ce32af61229eec8f4cc34b207273d47f60adc48 Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Thu, 20 Aug 2015 07:53:55 +0200 Subject: CS We shouldn't forget to run `php-cs-fixer` time to time --- .../ApiBundle/Security/Authentication/Provider/WsseProvider.php | 2 +- src/Wallabag/ApiBundle/Security/Firewall/WsseListener.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Wallabag/ApiBundle/Security') diff --git a/src/Wallabag/ApiBundle/Security/Authentication/Provider/WsseProvider.php b/src/Wallabag/ApiBundle/Security/Authentication/Provider/WsseProvider.php index db73ae2a..9bf8b377 100644 --- a/src/Wallabag/ApiBundle/Security/Authentication/Provider/WsseProvider.php +++ b/src/Wallabag/ApiBundle/Security/Authentication/Provider/WsseProvider.php @@ -17,7 +17,7 @@ class WsseProvider implements AuthenticationProviderInterface public function __construct(UserProviderInterface $userProvider, $cacheDir) { $this->userProvider = $userProvider; - $this->cacheDir = $cacheDir; + $this->cacheDir = $cacheDir; // If cache directory does not exist we create it if (!is_dir($this->cacheDir)) { diff --git a/src/Wallabag/ApiBundle/Security/Firewall/WsseListener.php b/src/Wallabag/ApiBundle/Security/Firewall/WsseListener.php index 50587837..2fcbe014 100644 --- a/src/Wallabag/ApiBundle/Security/Firewall/WsseListener.php +++ b/src/Wallabag/ApiBundle/Security/Firewall/WsseListener.php @@ -36,9 +36,9 @@ class WsseListener implements ListenerInterface $token = new WsseUserToken(); $token->setUser($matches[1]); - $token->digest = $matches[2]; - $token->nonce = $matches[3]; - $token->created = $matches[4]; + $token->digest = $matches[2]; + $token->nonce = $matches[3]; + $token->created = $matches[4]; try { $authToken = $this->authenticationManager->authenticate($token); -- cgit v1.2.3