]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - application/SessionManager.php
Improve SessionManager constructor and tests
[github/shaarli/Shaarli.git] / application / SessionManager.php
index 3aa4ddfc7be9f80866538f0f73f4512beaf52af8..71f0b38dc227e38e2a9022a5c6c7a417060db935 100644 (file)
@@ -12,12 +12,12 @@ class SessionManager
      * Constructor
      *
      * @param array         $session The $_SESSION array (reference)
-     * @param ConfigManager $conf    ConfigManager instance (reference)
+     * @param ConfigManager $conf    ConfigManager instance
      */
-    public function __construct(& $session, $conf)
+    public function __construct(& $session, $conf)
     {
         $this->session = &$session;
-        $this->conf = &$conf;
+        $this->conf = $conf;
     }
 
     /**