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 74f8a8a commit edbdfddCopy full SHA for edbdfdd
src/agent/src/Toolbox/StreamResult.php
@@ -39,7 +39,7 @@ public function getContent(): \Generator
39
}
40
41
$content = $innerResult->getContent();
42
- if (is_iterable($content)) {
+ if ($content instanceof \Generator || $content instanceof \Iterator || (is_array($content))) {
43
yield from $content;
44
} else {
45
yield $content;
0 commit comments