diff --git a/Storage.php b/Storage.php index c088c395..3d078874 100644 --- a/Storage.php +++ b/Storage.php @@ -106,15 +106,15 @@ public function register() /** * Open the SessionHandler backend. * - * @param string $save_path The path to the session object. - * @param string $session_name The name of the session. + * @param string $savePath The path to the session object. + * @param string $sessionName The name of the session. * * @return boolean True on success, false otherwise. * * @since 1.0 * @deprecated 2.0 */ - public function open($save_path, $session_name) + public function open($savePath, $sessionName) { return true; } @@ -151,15 +151,15 @@ public function read($id) /** * Write session data to the SessionHandler backend. * - * @param string $id The session identifier. - * @param string $session_data The session data. + * @param string $id The session identifier. + * @param string $sessionData The session data. * * @return boolean True on success, false otherwise. * * @since 1.0 * @deprecated 2.0 */ - public function write($id, $session_data) + public function write($id, $sessionData) { return true; } diff --git a/Storage/Apc.php b/Storage/Apc.php index 80830379..3a81b7a3 100644 --- a/Storage/Apc.php +++ b/Storage/Apc.php @@ -59,19 +59,19 @@ public function read($id) /** * Write session data to the SessionHandler backend. * - * @param string $id The session identifier. - * @param string $session_data The session data. + * @param string $id The session identifier. + * @param string $sessionData The session data. * * @return boolean True on success, false otherwise. * * @since 1.0 * @deprecated 2.0 */ - public function write($id, $session_data) + public function write($id, $sessionData) { $sess_id = 'sess_' . $id; - return apc_store($sess_id, $session_data, ini_get('session.gc_maxlifetime')); + return apc_store($sess_id, $sessionData, ini_get('session.gc_maxlifetime')); } /** diff --git a/Storage/Apcu.php b/Storage/Apcu.php index e1f5f8c2..b6e46f71 100644 --- a/Storage/Apcu.php +++ b/Storage/Apcu.php @@ -57,18 +57,18 @@ public function read($id) /** * Write session data to the SessionHandler backend. * - * @param string $id The session identifier. - * @param string $session_data The session data. + * @param string $id The session identifier. + * @param string $sessionData The session data. * * @return boolean True on success, false otherwise. * * @since 1.4.0 */ - public function write($id, $session_data) + public function write($id, $sessionData) { $sess_id = 'sess_' . $id; - return apcu_store($sess_id, $session_data, ini_get('session.gc_maxlifetime')); + return apcu_store($sess_id, $sessionData, ini_get('session.gc_maxlifetime')); } /** diff --git a/Storage/Xcache.php b/Storage/Xcache.php index 32a2b9a4..e028e242 100644 --- a/Storage/Xcache.php +++ b/Storage/Xcache.php @@ -63,19 +63,19 @@ public function read($id) /** * Write session data to the SessionHandler backend. * - * @param string $id The session identifier. - * @param string $session_data The session data. + * @param string $id The session identifier. + * @param string $sessionData The session data. * * @return boolean True on success, false otherwise. * * @since 1.0 * @deprecated 2.0 */ - public function write($id, $session_data) + public function write($id, $sessionData) { $sess_id = 'sess_' . $id; - return xcache_set($sess_id, $session_data, ini_get('session.gc_maxlifetime')); + return xcache_set($sess_id, $sessionData, ini_get('session.gc_maxlifetime')); } /**