diff --git a/app/Models/Employee.php b/app/Models/Employee.php index ad20c6e..c1a3664 100644 --- a/app/Models/Employee.php +++ b/app/Models/Employee.php @@ -101,7 +101,7 @@ class Employee extends Model implements AuthenticatableContract */ public function isStoreMaster(): bool { - return $this->store_id && $this->store?->master_id == $this->id; + return $this->store_id && $this->store?->master_id === $this->id; } /**