Skip to content

Commit 1932a89

Browse files
committed
[Stream] Rename (ReadableStream|WritableStream){ => Interface}
For the record, I disagree with this. But I will cry in my corner for this one.
1 parent 42300bf commit 1932a89

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
use Evenement\EventEmitter;
66
use React\EventLoop\LoopInterface;
7-
use React\Stream\WritableStream;
7+
use React\Stream\WritableStreamInterface;
88
use React\Stream\Buffer;
99
use React\Stream\Stream;
1010
use React\Stream\Util;

ConnectionInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
namespace React\Socket;
44

55
use Evenement\EventEmitterInterface;
6-
use React\Stream\ReadableStream;
7-
use React\Stream\WritableStream;
6+
use React\Stream\ReadableStreamInterface;
7+
use React\Stream\WritableStreamInterface;
88

9-
interface ConnectionInterface extends ReadableStream, WritableStream
9+
interface ConnectionInterface extends ReadableStreamInterface, WritableStreamInterface
1010
{
1111
public function getRemoteAddress();
1212
}

0 commit comments

Comments
 (0)