From ea49f10584f0f0eddfd8e19df227f9baab9f28b5 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 19 Mar 2026 19:16:55 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Fireable.php | 3 ++- tests/stubs/StatusChangedToOpen.php | 3 ++- tests/stubs/TestModel.php | 2 +- tests/stubs/ValueChanged.php | 3 ++- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/Fireable.php b/src/Fireable.php index 303c82a..bd2be1b 100755 --- a/src/Fireable.php +++ b/src/Fireable.php @@ -10,7 +10,8 @@ class Fireable public function __construct( protected readonly Model $model, protected readonly array $fireableAttributes = [], - ) {} + ) { + } /** * Match updated attributes with fireable ones and trigger events. diff --git a/tests/stubs/StatusChangedToOpen.php b/tests/stubs/StatusChangedToOpen.php index 5c650fc..057b78e 100644 --- a/tests/stubs/StatusChangedToOpen.php +++ b/tests/stubs/StatusChangedToOpen.php @@ -6,5 +6,6 @@ class StatusChangedToOpen { public function __construct( public readonly TestModel $model, - ) {} + ) { + } } diff --git a/tests/stubs/TestModel.php b/tests/stubs/TestModel.php index 1e4c279..7aee2b3 100644 --- a/tests/stubs/TestModel.php +++ b/tests/stubs/TestModel.php @@ -13,7 +13,7 @@ class TestModel extends Model protected $guarded = []; protected array $fireableAttributes = [ - 'value' => ValueChanged::class, + 'value' => ValueChanged::class, 'status' => [ 'open' => StatusChangedToOpen::class, ], diff --git a/tests/stubs/ValueChanged.php b/tests/stubs/ValueChanged.php index 346c497..17397af 100644 --- a/tests/stubs/ValueChanged.php +++ b/tests/stubs/ValueChanged.php @@ -6,5 +6,6 @@ class ValueChanged { public function __construct( public readonly TestModel $model, - ) {} + ) { + } }