stevencorona / SessionHandlerCookie

A simple HMAC-cookie based session handler implementation for PHP 5.4's SessionHandlerInterface
MIT License
43 stars 14 forks source link

return bool values in various methods to conform to the interface #6

Closed ckressibucher closed 4 years ago

ckressibucher commented 8 years ago

According to the docs, all the methods should return boolean "sucess/failure" values (except of read, which of course should return a string).

Additionally I've added a use statement to fix an otherwise wrong type hint.