diff options
author | VirtualTam <virtualtam+github@flibidi.net> | 2017-11-24 23:53:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-24 23:53:15 +0100 |
commit | d9514becc4d8b06e2a31c6975f3bbbaf6f1fed42 (patch) | |
tree | 301bed8a69d908c5b583a3c66cb36d1beac38271 /application | |
parent | 4e58d2edf79bb90b52e7235e4239b1e462bdd9aa (diff) | |
parent | dd883aaf0999e9dc783a1a19bfeeab181c949d55 (diff) | |
download | Shaarli-d9514becc4d8b06e2a31c6975f3bbbaf6f1fed42.tar.gz Shaarli-d9514becc4d8b06e2a31c6975f3bbbaf6f1fed42.tar.zst Shaarli-d9514becc4d8b06e2a31c6975f3bbbaf6f1fed42.zip |
Merge pull request #1016 from virtualtam/refactor/session
Improve SessionManager constructor and tests
Diffstat (limited to 'application')
-rw-r--r-- | application/SessionManager.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/application/SessionManager.php b/application/SessionManager.php index 3aa4ddfc..71f0b38d 100644 --- a/application/SessionManager.php +++ b/application/SessionManager.php | |||
@@ -12,12 +12,12 @@ class SessionManager | |||
12 | * Constructor | 12 | * Constructor |
13 | * | 13 | * |
14 | * @param array $session The $_SESSION array (reference) | 14 | * @param array $session The $_SESSION array (reference) |
15 | * @param ConfigManager $conf ConfigManager instance (reference) | 15 | * @param ConfigManager $conf ConfigManager instance |
16 | */ | 16 | */ |
17 | public function __construct(& $session, & $conf) | 17 | public function __construct(& $session, $conf) |
18 | { | 18 | { |
19 | $this->session = &$session; | 19 | $this->session = &$session; |
20 | $this->conf = &$conf; | 20 | $this->conf = $conf; |
21 | } | 21 | } |
22 | 22 | ||
23 | /** | 23 | /** |