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 5aee621 commit 1142be4Copy full SHA for 1142be4
src/SubscriptionRepository.php
@@ -36,7 +36,7 @@ public function getConnectionIdsForChannel(string ...$channels): Collection
36
$responses = Utils::all($promises)->wait();
37
38
return collect($responses)
39
- ->flatmap(fn (array $result): array => $result['Items'])
+ ->flatmap(fn (\Aws\Result $result): array => $result['Items'])
40
->map(fn (array $item): string => $item['connectionId']['S'])
41
->unique();
42
}
0 commit comments