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.
ReadableStreamInterface::pipe()
@template
1 parent f48623b commit 2f3546bCopy full SHA for 2f3546b
src/ReadableStreamInterface.php
@@ -318,9 +318,10 @@ public function resume(): void;
318
* Once the pipe is set up successfully, the destination stream MUST emit
319
* a `pipe` event with this source stream an event argument.
320
*
321
- * @param WritableStreamInterface $dest
+ * @template T of WritableStreamInterface
322
+ * @param T $dest
323
* @param array{end?:bool} $options
- * @return WritableStreamInterface $dest stream as-is
324
+ * @return T $dest stream as-is
325
*/
326
public function pipe(WritableStreamInterface $dest, array $options = []): WritableStreamInterface;
327
0 commit comments