Skip to content

Commit

Permalink
Fix PHPStan
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenvanassche committed Mar 1, 2024
1 parent 9062c2a commit 121c708
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions src/Support/Livewire/LivewireDataSynth.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 121c708

Please sign in to comment.