diff --git a/src/Events/LSSSettingChangedEvent.php b/src/Events/LSSSettingChangedEvent.php index 18cd82e..6bae03d 100644 --- a/src/Events/LSSSettingChangedEvent.php +++ b/src/Events/LSSSettingChangedEvent.php @@ -4,13 +4,13 @@ use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Queue\SerializesModels; -use VI\LaravelSiteSettings\Models\SettingGroup; +use VI\LaravelSiteSettings\Models\Setting; class LSSSettingChangedEvent { use Dispatchable, SerializesModels; - public function __construct(public SettingGroup $settingGroup) + public function __construct(public Setting $setting) { // } diff --git a/src/Events/LSSSettingGroupChangedEvent.php b/src/Events/LSSSettingGroupChangedEvent.php index 6353381..f7127f5 100644 --- a/src/Events/LSSSettingGroupChangedEvent.php +++ b/src/Events/LSSSettingGroupChangedEvent.php @@ -4,14 +4,13 @@ use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Queue\SerializesModels; -use VI\LaravelSiteSettings\Models\Setting; use VI\LaravelSiteSettings\Models\SettingGroup; class LSSSettingGroupChangedEvent { use Dispatchable, SerializesModels; - public function __construct(public Setting $setting) + public function __construct(public SettingGroup $settingGroup) { // }