@@ -338,7 +338,7 @@ class phpCAS
338338 * @param bool $changeSessionID Allow phpCAS to change the session_id
339339 * (Single Sign Out/handleLogoutRequests
340340 * is based on that change)
341- * @param \SessionHandlerInterface $sessionHandler the session handler
341+ * @param \SessionHandlerInterface|null $sessionHandler the session handler
342342 *
343343 * @return void a newly created CAS_Client object
344344 * @note Only one of the phpCAS::client() and phpCAS::proxy functions should be
@@ -347,7 +347,7 @@ class phpCAS
347347 */
348348 public static function client ($ server_version , $ server_hostname ,
349349 $ server_port , $ server_uri , $ service_base_url ,
350- $ changeSessionID = true , \SessionHandlerInterface $ sessionHandler = null
350+ $ changeSessionID = true , ? \SessionHandlerInterface $ sessionHandler = null
351351 ) {
352352 phpCAS :: traceBegin ();
353353 if (is_object (self ::$ _PHPCAS_CLIENT )) {
@@ -393,7 +393,7 @@ public static function client($server_version, $server_hostname,
393393 * @param bool $changeSessionID Allow phpCAS to change the session_id
394394 * (Single Sign Out/handleLogoutRequests
395395 * is based on that change)
396- * @param \SessionHandlerInterface $sessionHandler the session handler
396+ * @param \SessionHandlerInterface|null $sessionHandler the session handler
397397 *
398398 * @return void a newly created CAS_Client object
399399 * @note Only one of the phpCAS::client() and phpCAS::proxy functions should be
@@ -402,7 +402,7 @@ public static function client($server_version, $server_hostname,
402402 */
403403 public static function proxy ($ server_version , $ server_hostname ,
404404 $ server_port , $ server_uri , $ service_base_url ,
405- $ changeSessionID = true , \SessionHandlerInterface $ sessionHandler = null
405+ $ changeSessionID = true , ? \SessionHandlerInterface $ sessionHandler = null
406406 ) {
407407 phpCAS :: traceBegin ();
408408 if (is_object (self ::$ _PHPCAS_CLIENT )) {
0 commit comments