We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d65ac1 commit 3efcc33Copy full SHA for 3efcc33
src/Repositories/DatabaseChannelManager.php
@@ -52,7 +52,7 @@ public function authorized(array $channels): array
52
{
53
return Collection::make($channels)
54
->chunk(self::MAX_CHANNELS_PER_EXECUTION)
55
- ->each(function (Collection $channels) {
+ ->map(function (Collection $channels) {
56
return Channel::query()
57
->whereIn('id', $channels->map(fn(string $channel) => $this->getKey($channel)))
58
->where(['revoked' => false])
0 commit comments