@@ -338,7 +338,7 @@ class phpCAS
338
338
* @param bool $changeSessionID Allow phpCAS to change the session_id
339
339
* (Single Sign Out/handleLogoutRequests
340
340
* is based on that change)
341
- * @param \SessionHandlerInterface $sessionHandler the session handler
341
+ * @param \SessionHandlerInterface|null $sessionHandler the session handler
342
342
*
343
343
* @return void a newly created CAS_Client object
344
344
* @note Only one of the phpCAS::client() and phpCAS::proxy functions should be
@@ -347,7 +347,7 @@ class phpCAS
347
347
*/
348
348
public static function client ($ server_version , $ server_hostname ,
349
349
$ server_port , $ server_uri , $ service_base_url ,
350
- $ changeSessionID = true , \SessionHandlerInterface $ sessionHandler = null
350
+ $ changeSessionID = true , ? \SessionHandlerInterface $ sessionHandler = null
351
351
) {
352
352
phpCAS :: traceBegin ();
353
353
if (is_object (self ::$ _PHPCAS_CLIENT )) {
@@ -393,7 +393,7 @@ public static function client($server_version, $server_hostname,
393
393
* @param bool $changeSessionID Allow phpCAS to change the session_id
394
394
* (Single Sign Out/handleLogoutRequests
395
395
* is based on that change)
396
- * @param \SessionHandlerInterface $sessionHandler the session handler
396
+ * @param \SessionHandlerInterface|null $sessionHandler the session handler
397
397
*
398
398
* @return void a newly created CAS_Client object
399
399
* @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,
402
402
*/
403
403
public static function proxy ($ server_version , $ server_hostname ,
404
404
$ server_port , $ server_uri , $ service_base_url ,
405
- $ changeSessionID = true , \SessionHandlerInterface $ sessionHandler = null
405
+ $ changeSessionID = true , ? \SessionHandlerInterface $ sessionHandler = null
406
406
) {
407
407
phpCAS :: traceBegin ();
408
408
if (is_object (self ::$ _PHPCAS_CLIENT )) {
0 commit comments