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

This commit is contained in:
Steve Ireland committed 2023-04-27 21:54:11 -04:00
1 parent 63b0068a38
commit c990bb2abb
1 file changed
+1 -1
+1 -1
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();
}