Skip to content

Commit

Permalink
Pint
Browse files Browse the repository at this point in the history
  • Loading branch information
BobWez98 committed Nov 4, 2024
1 parent 4972949 commit 59cf18f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Repositories/CollectionRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ public function getCollectionByHandle($handle): ?BaseCollection
public function all(): IlluminateCollection
{
$keys = $this->store->paths()->keys();

// add custom collections
$keys = $this->collections->keys()->filter(fn($collection) => $this->getCollectionByHandle($collection)->visible())->merge($keys);
$keys = $this->collections->keys()->filter(fn ($collection) => $this->getCollectionByHandle($collection)->visible())->merge($keys);

return $this->store->getItems($keys, $this->collections);
}

Expand Down

0 comments on commit 59cf18f

Please sign in to comment.