diff --git a/Models/Employee.php b/Models/Employee.php index 53a618f..4647a9e 100644 --- a/Models/Employee.php +++ b/Models/Employee.php @@ -60,7 +60,7 @@ class Employee { public function setActivity(bool $active) { - $this->active = $active; + $this->isActive = $active; } public function isActive() : bool