Refactor SessionManager to return SessionRecord directly
This commit is contained in:
parent
7a9dd62d75
commit
b85cea40e4
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@
|
|||
$data['created'] = new DateTime($data['created']);
|
||||
$data['last_request'] = new DateTime($data['last_request']);
|
||||
|
||||
$sessionRecord = SessionRecord::fromArray($data);
|
||||
return SessionRecord::fromArray($data);
|
||||
|
||||
}
|
||||
catch (PDOException | DateMalformedStringException $e)
|
||||
|
|
Loading…
Add table
Reference in a new issue