Skip to content

Commit

Permalink
Fix livewire return type to make sure it can return everything in the…
Browse files Browse the repository at this point in the history
… data object (#836)
  • Loading branch information
rubenvanassche committed Oct 4, 2024
1 parent c620967 commit acf8721
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Support/Livewire/LivewireDataSynth.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public static function match($target): bool
return $target instanceof BaseData && $target instanceof TransformableData;
}

public function get(&$target, $key): BaseData
public function get(&$target, $key): mixed
{
return $target->{$key};
}
Expand Down

0 comments on commit acf8721

Please sign in to comment.