diff --git a/src/Server.php b/src/Server.php index b7d19f8..5bfdd24 100644 --- a/src/Server.php +++ b/src/Server.php @@ -9,7 +9,6 @@ use React\Socket\ConnectionInterface; use React\Socket\Server as SocketServer; use Symfony\Component\Console\Output\BufferedOutput; -use Symfony\Component\Console\Output\OutputInterface; use BeyondCode\LaravelTinkerServer\Shell\ExecutionClosure; class Server diff --git a/tests/fixtures/EchoStream.php b/tests/fixtures/EchoStream.php index 7965c7d..0fa4fb3 100644 --- a/tests/fixtures/EchoStream.php +++ b/tests/fixtures/EchoStream.php @@ -2,7 +2,6 @@ class EchoStream implements \React\Stream\WritableStreamInterface { - public function on($event, callable $listener) { // TODO: Implement on() method. @@ -37,6 +36,7 @@ public function isWritable() { return true; } + public function write($data) { echo $data; @@ -46,8 +46,9 @@ public function end($data = null) { // TODO: Implement end() method. } + public function close() { // TODO: Implement close() method. } -} \ No newline at end of file +}