mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-10 01:51:02 -04:00
Tack on the void return type onto the Employee:logout method.
This commit is contained in:
@@ -408,7 +408,7 @@ class Employee extends Person
|
||||
/**
|
||||
* Logs out a user by destroying all session data and redirect to log in
|
||||
*/
|
||||
public function logout()
|
||||
public function logout(): void
|
||||
{
|
||||
session()->destroy();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user