Skip to content

Commit 1c117a5

Browse files
authored
Correction PHP8.4
apereo#445
1 parent 690d431 commit 1c117a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/CAS.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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)) {
@@ -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

Comments
 (0)