Skip to content

Commit

Permalink
Fixed #289
Browse files Browse the repository at this point in the history
  • Loading branch information
Artur Edamov committed Nov 14, 2014
1 parent 5a649e8 commit f43c979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Session/Adapter/Redis.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function read($id)
*/
public function write($id, $data)
{
$this->handler->set($this->prepareId($id), $data, $this->ttl);
$this->handler->set($this->prepareId($id), $data, (int) $this->ttl);
}

/**
Expand Down

0 comments on commit f43c979

Please sign in to comment.