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 53d56f8 commit cafb5d5Copy full SHA for cafb5d5
src/protocol/AProtocol.php
@@ -43,7 +43,7 @@ public function __construct(IPacker $packer, IUnpacker $unpacker, IConnection $c
43
* @param Generator $generator
44
* @throws Exception
45
*/
46
- protected function write(Generator $generator)
+ protected function write(iterable $generator)
47
{
48
foreach ($generator as $buffer)
49
$this->connection->write($buffer);
0 commit comments