From dddb98d04c53ab1cfd6404cd9287199444f363ca Mon Sep 17 00:00:00 2001 From: Bro Date: Fri, 24 Jul 2026 19:06:20 +0700 Subject: [PATCH] fix: duplicate isStaff() method di User model --- app/Models/User.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/Models/User.php b/app/Models/User.php index 2e8cd05..e03685a 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -30,7 +30,6 @@ class User extends Authenticatable public function isWaliKelas(): bool { return $this->role === 'wali_kelas'; } public function isStaff(): bool { return $this->role === 'staff'; } public function isOther(): bool { return $this->role === 'other'; } - public function isStaff(): bool { return $this->role === 'staff'; } public function canPermission(string $permission): bool {