Commit 2171326c authored by Thomas Löffler's avatar Thomas Löffler
Browse files

Testing the tests with a php7 only syntax

Change-Id: I1fa7b8b4f221542f7276ddd343565f5cb421923f
parent b26bfab4
......@@ -34,7 +34,7 @@ class PasswordExpirationUtility
* @static
* @return bool FALSE if the password is still valid
*/
public static function isBeUserPasswordExpired()
public static function isBeUserPasswordExpired(): bool
{
// If ses_backuserid is set, an admin switched to that user. He should not be forced to change the password
if ($GLOBALS['BE_USER']->user['ses_backuserid']) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment