Skip to content

Commit

Permalink
Remove fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
timacdonald committed Feb 14, 2024
1 parent 7be082e commit a868185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pulse/Reverb.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ protected function formatConnections(Collection $average, Collection $peak): Col
*/
protected function formatReadings(Collection $readings, string $key, string $type): Collection
{
return $readings->get($key, collect())->get($type ?? $key, collect());
return $readings->get($key, collect())->get($type, collect());
}

/**
Expand Down

0 comments on commit a868185

Please sign in to comment.