Skip to content

Commit 1142be4

Browse files
committed
Changing SubscriptionRepository reference to array to \Aws\Result
1 parent 5aee621 commit 1142be4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SubscriptionRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function getConnectionIdsForChannel(string ...$channels): Collection
3636
$responses = Utils::all($promises)->wait();
3737

3838
return collect($responses)
39-
->flatmap(fn (array $result): array => $result['Items'])
39+
->flatmap(fn (\Aws\Result $result): array => $result['Items'])
4040
->map(fn (array $item): string => $item['connectionId']['S'])
4141
->unique();
4242
}

0 commit comments

Comments
 (0)