Skip to content

Commit 439fa54

Browse files
committed
fix: descriptor Value::whenInFields should accept any resource type
1 parent 2ae8709 commit 439fa54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Descriptors/Values/Value.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function whenInFields(): static
6464
{
6565
return $this->when(static fn(
6666
Request $request,
67-
Model $model,
67+
mixed $model,
6868
string $attribute
6969
): bool => Fields::has($request, $attribute));
7070
}

0 commit comments

Comments
 (0)