diff --git a/src/Fireable.php b/src/Fireable.php index 303c82a6b8ebb91f529f18d12dde9d60f222f308..bd2be1bb73b3167cd7dbf8680c023d049402f2ff 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 5c650fc66f43326be4d6c25404c99a3904772285..057b78e891d59dd2e027c3115ba8f49cda576e61 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 1e4c2790f5b16783ead7d04893c4bc23285d73d2..7aee2b3feeb23e2c0a47eed71d90bc8277604eb4 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 346c497fefde9ca248ff93e7172b069f87dd1bc6..17397af794a0a1ab30d071541afc1c8405ee0f6d 100644 --- a/tests/stubs/ValueChanged.php +++ b/tests/stubs/ValueChanged.php @@ -6,5 +6,6 @@ class ValueChanged { public function __construct( public readonly TestModel $model, - ) {} + ) { + } }