diff --git a/src/Traits/Reactable.php b/src/Traits/Reactable.php index 73a17d4..7bdfc7c 100644 --- a/src/Traits/Reactable.php +++ b/src/Traits/Reactable.php @@ -61,7 +61,7 @@ public function reactionSummary() ->selectRaw('type, count(id) as total_count') ->get() ->mapWithKeys(function ($val) { - return [ $val->type => $val->total_count ]; + return [$val->type => $val->total_count]; }); }