SessionWithoutLogin.php (mrbs-1.9.4) | : | SessionWithoutLogin.php (mrbs-1.10.0) | ||
---|---|---|---|---|
<?php | <?php | |||
namespace MRBS\Session; | namespace MRBS\Session; | |||
use MRBS\User; | ||||
// An abstract class for those session schemes where no login form is implemente d | // An abstract class for those session schemes where no login form is implemente d | |||
// because the username is already known | // because the username is already known | |||
abstract class SessionWithoutLogin implements SessionInterface | abstract class SessionWithoutLogin implements SessionInterface | |||
{ | { | |||
abstract public function getCurrentUser(); | abstract public function getCurrentUser() : ?User; | |||
} | } | |||
End of changes. 3 change blocks. | ||||
1 lines changed or deleted | 4 lines changed or added |