From 39dff7c83c888dce8cd4a62225bdab7c1ced3415 Mon Sep 17 00:00:00 2001 From: Daeng Deni Mardaeni Date: Tue, 5 Nov 2024 10:38:24 +0700 Subject: [PATCH] Fix case sensitivity issue in Teams model Change the case of 'penilaianTeam' to 'PenilaianTeam' in the Teams model to ensure correct class reference. This resolves errors related to class loading and enhances code readability. --- app/Models/Teams.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Teams.php b/app/Models/Teams.php index 1348a6c..57c0775 100644 --- a/app/Models/Teams.php +++ b/app/Models/Teams.php @@ -31,7 +31,7 @@ class Teams extends Model } public function penilaianTeam(){ - return $this->hasMany(penilaianTeam::class, 'team_id', 'id'); + return $this->hasMany(PenilaianTeam::class, 'team_id', 'id'); }