@@ -25,8 +25,8 @@ |
||
25 | 25 | |
26 | 26 | public function index() |
27 | 27 | { |
28 | - $tags = Tag::get()->reduce(function (Collection $carry, Tag $tag) { |
|
29 | - if (! $carry->has($tag->type)) { |
|
28 | + $tags = Tag::get()->reduce(function(Collection $carry, Tag $tag) { |
|
29 | + if (!$carry->has($tag->type)) { |
|
30 | 30 | $carry->put($tag->type, new Collection()); |
31 | 31 | } |
32 | 32 |