Skip to content

Commit 7f4bd80

Browse files
committed
Internal: #fix stricter functions declarations to improve PHPDoc from commit #ea334a3f6f because the return can be null when there is no token in session - refs BT#22393
1 parent e2d89c5 commit 7f4bd80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/inc/lib/security.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public static function filter_filename(string $filename): string
138138
return disable_dangerous_file($filename);
139139
}
140140

141-
public static function getTokenFromSession(string $prefix = ''): string
141+
public static function getTokenFromSession(string $prefix = '')
142142
{
143143
$secTokenVariable = self::generateSecTokenVariable($prefix);
144144

0 commit comments

Comments
 (0)