Skip to content

Commit

Permalink
[Session] Fix parameter names in WriteCheckSessionHandler
Browse files Browse the repository at this point in the history
| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -
  • Loading branch information
znerol authored and fabpot committed Nov 16, 2014
1 parent af73a47 commit 90e7830
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,17 @@ public function destroy($sessionId)
/**
* {@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);
}

/**
Expand All @@ -80,12 +80,12 @@ public function read($sessionId)
/**
* {@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);
}
}

0 comments on commit 90e7830

Please sign in to comment.