mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-09-16 23:38:21 -04:00
Tack on the void return type onto the Employee:logout method.
This commit is contained in:
1 parent
63b0068a38
commit
c990bb2abb
1 file changed
+1
-1
@@ -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