main
Jing Li 2024-04-12 13:25:00 +08:00
parent 74ff9a1c41
commit 68a9bbc5fd
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
/**