diff --git a/src/Casts/Cast.php b/src/Casts/Cast.php index e3ba2446..1270f35c 100644 --- a/src/Casts/Cast.php +++ b/src/Casts/Cast.php @@ -7,5 +7,8 @@ interface Cast { + /** + * @param array $properties + */ public function cast(DataProperty $property, mixed $value, array $properties, CreationContext $context): mixed; } diff --git a/src/Casts/IterableItemCast.php b/src/Casts/IterableItemCast.php index d89a107a..127acb35 100644 --- a/src/Casts/IterableItemCast.php +++ b/src/Casts/IterableItemCast.php @@ -7,5 +7,8 @@ interface IterableItemCast { + /** + * @param array $properties + */ public function castIterableItem(DataProperty $property, mixed $value, array $properties, CreationContext $context): mixed; }