chore: fix code style

This commit is contained in:
ralphjsmit
2025-07-02 16:35:37 +00:00
committed by github-actions[bot]
parent 43a2fb0959
commit a3521cefd7
2 changed files with 8 additions and 11 deletions
@@ -1,11 +1,8 @@
<x-dynamic-component
:component="$getFieldWrapperView()"
:field="$field"
>
<div
x-data="{ state: $wire.$entangle(@js($getStatePath())) }"
{{ $getExtraAttributeBag() }}
>
{{ $getChildComponentContainer() }}
</div>
<x-dynamic-component :component="$getFieldWrapperView()" :field="$field">
<div
x-data="{ state: $wire.$entangle(@js($getStatePath())) }"
{{ $getExtraAttributeBag() }}
>
{{ $getChildComponentContainer() }}
</div>
</x-dynamic-component>
+1 -1
View File
@@ -24,7 +24,7 @@ class TestFieldWithChildComponentSchema extends Field
parent::setUp();
$this
->afterStateHydrated(function (self $component, mixed $state) {
->afterStateHydrated(function (self $component, mixed $state): void {
if (! $state) {
$state = ['partA' => 'defaultA', 'partB' => 'defaultB'];
}