Skip to content

Commit 53d56f8

Browse files
committed
removed cast to object which eagerly consumes generators
1 parent 48f6e76 commit 53d56f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/protocol/V3.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function run(...$args): array
7373
$this->write($this->packer->pack(
7474
0x10,
7575
$args[0],
76-
(object)($args[1] ?? []),
76+
$args[1] ?? [],
7777
(object)($args[2] ?? [])
7878
));
7979
$message = $this->read($signature);

0 commit comments

Comments
 (0)