Tack on the void return type onto the Employee:logout method.

This commit is contained in:
Steve Ireland
2023-03-03 13:37:28 -05:00
parent 63b0068a38
commit c990bb2abb

View File

@@ -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();
}