diff --git a/app/Http/Controllers/Controller.php b/app/Http/Controllers/Controller.php index 2e8af07a..3aa2580a 100644 --- a/app/Http/Controllers/Controller.php +++ b/app/Http/Controllers/Controller.php @@ -2,4 +2,6 @@ namespace App\Http\Controllers; -abstract class Controller {} +abstract class Controller +{ +} diff --git a/app/Models/AnggaranKerangkaAcuan.php b/app/Models/AnggaranKerangkaAcuan.php index b93adf17..1d1374bc 100644 --- a/app/Models/AnggaranKerangkaAcuan.php +++ b/app/Models/AnggaranKerangkaAcuan.php @@ -51,7 +51,6 @@ protected static function booted(): void $honor->save(); } } - }); static::deleting(function (AnggaranKerangkaAcuan $anggaranKak) { $id = HonorKegiatan::where('mak', $anggaranKak->mak)->pluck('id'); diff --git a/app/Models/SpesifikasiKerangkaAcuan.php b/app/Models/SpesifikasiKerangkaAcuan.php index 3096417f..f085afd0 100644 --- a/app/Models/SpesifikasiKerangkaAcuan.php +++ b/app/Models/SpesifikasiKerangkaAcuan.php @@ -19,8 +19,6 @@ protected static function booted(): void }); static::deleting(function (SpesifikasiKerangkaAcuan $spesifikasi) { KerangkaAcuan::find($spesifikasi->kerangka_acuan_id)->update(['status' => 'dibuat']); - }); - } }