We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f80ea4d commit 0adcba2Copy full SHA for 0adcba2
src/AdditionalCollectors.php
@@ -17,7 +17,7 @@ public function add(CollectorInterface $collector): void
17
18
public function collect(): Observable
19
{
20
- return observableFromArray($this->collectors)->map(function (CollectorInterface $collector) {
+ return observableFromArray($this->collectors)->flatMap(function (CollectorInterface $collector) {
21
return $collector->collect();
22
});
23
}
0 commit comments