From 6dea06dab621a1f212b04dbf6e550046891f59b1 Mon Sep 17 00:00:00 2001 From: Maxim Kolmakov Date: Wed, 25 Apr 2018 13:09:29 +0200 Subject: [PATCH] Fix session_set_save_handler Last parameters are optional --- session/session.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/session/session.php b/session/session.php index 405a76a63..a227de1df 100644 --- a/session/session.php +++ b/session/session.php @@ -257,8 +257,8 @@ function session_unset () {} *

This callback is executed when a new session ID is required. * No parameters are provided, and the return value should be a string that is a valid * session ID for your handler.

- * @param callback $validate_sid - * @param callback $update_timestamp + * @param callback $validate_sid [optional] + * @param callback $update_timestamp [optional] * @return bool true on success or false on failure. * @since 4.0 * @since 5.0