From 121c70842eba0409d0ddcf75e982f36a4eb0f181 Mon Sep 17 00:00:00 2001 From: Ruben Van Assche Date: Fri, 1 Mar 2024 13:12:22 +0100 Subject: [PATCH] Fix PHPStan --- src/Support/Livewire/LivewireDataSynth.php | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/Support/Livewire/LivewireDataSynth.php b/src/Support/Livewire/LivewireDataSynth.php index 031bf6b27..10109dd92 100644 --- a/src/Support/Livewire/LivewireDataSynth.php +++ b/src/Support/Livewire/LivewireDataSynth.php @@ -41,10 +41,7 @@ public function set(&$target, $key, $value): void } /** - * @param BaseData&TransformableData&ContextableData $target - * @param callable(mixed):mixed $dehydrateChild - * - * @return array + * @param callable(array-key, mixed):mixed $dehydrateChild */ public function dehydrate( BaseData&TransformableData&ContextableData $target, @@ -71,11 +68,7 @@ public function dehydrate( } /** - * @param mixed $value - * @param array $meta - * @param callable(mixed):mixed $hydrateChild - * - * @return BaseData + * @param callable(array-key, mixed):mixed $hydrateChild */ public function hydrate( array $value,