From 90e7830d58525a57d8820330014b9175c8c5a953 Mon Sep 17 00:00:00 2001 From: Lorenz Schori Date: Tue, 11 Nov 2014 14:07:29 +0100 Subject: [PATCH] [Session] Fix parameter names in WriteCheckSessionHandler | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - --- .../Storage/Handler/WriteCheckSessionHandler.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Symfony/Component/HttpFoundation/Session/Storage/Handler/WriteCheckSessionHandler.php b/src/Symfony/Component/HttpFoundation/Session/Storage/Handler/WriteCheckSessionHandler.php index c43c9d05fe..d49c36cae5 100644 --- a/src/Symfony/Component/HttpFoundation/Session/Storage/Handler/WriteCheckSessionHandler.php +++ b/src/Symfony/Component/HttpFoundation/Session/Storage/Handler/WriteCheckSessionHandler.php @@ -52,17 +52,17 @@ class WriteCheckSessionHandler implements \SessionHandlerInterface /** * {@inheritdoc} */ - public function gc($maxLifetime) + public function gc($maxlifetime) { - return $this->wrappedSessionHandler->gc($maxLifetime); + return $this->wrappedSessionHandler->gc($maxlifetime); } /** * {@inheritdoc} */ - public function open($savePath, $sessionId) + public function open($savePath, $sessionName) { - return $this->wrappedSessionHandler->open($savePath, $sessionId); + return $this->wrappedSessionHandler->open($savePath, $sessionName); } /** @@ -80,12 +80,12 @@ class WriteCheckSessionHandler implements \SessionHandlerInterface /** * {@inheritdoc} */ - public function write($sessionId, $sessionData) + public function write($sessionId, $data) { - if (isset($this->readSessions[$sessionId]) && $sessionData === $this->readSessions[$sessionId]) { + if (isset($this->readSessions[$sessionId]) && $data === $this->readSessions[$sessionId]) { return true; } - return $this->wrappedSessionHandler->write($sessionId, $sessionData); + return $this->wrappedSessionHandler->write($sessionId, $data); } }