diff --git a/src/Kir/Streams/OutputStream.php b/src/Kir/Streams/OutputStream.php index 2f08005..7d10701 100644 --- a/src/Kir/Streams/OutputStream.php +++ b/src/Kir/Streams/OutputStream.php @@ -10,10 +10,4 @@ interface OutputStream extends Stream { * @return $this */ public function write($data); - - /** - * @throws IOException - * @return $this - */ - public function flush(); } \ No newline at end of file diff --git a/src/Kir/Streams/Tests/Helper/NondestructiveReadWriteStream.php b/src/Kir/Streams/Tests/Helper/NondestructiveReadWriteStream.php index 068ffef..75d7808 100644 --- a/src/Kir/Streams/Tests/Helper/NondestructiveReadWriteStream.php +++ b/src/Kir/Streams/Tests/Helper/NondestructiveReadWriteStream.php @@ -47,15 +47,6 @@ public function write($data) { return $this; } - /** - * @throws IOException - * @return $this - */ - public function flush() { - $this->stream->flush(); - return $this; - } - /** * @throws IOException * @param int $pos diff --git a/src/Kir/Streams/Tests/Helper/ResourceStream.php b/src/Kir/Streams/Tests/Helper/ResourceStream.php index c19e3d8..78ccec8 100644 --- a/src/Kir/Streams/Tests/Helper/ResourceStream.php +++ b/src/Kir/Streams/Tests/Helper/ResourceStream.php @@ -87,13 +87,6 @@ public function write($data) { $this->size = max(ftell($this->res), $this->size); return $this; } - /** - * @throws IOException - * @return $this - */ - public function flush() { - return $this; - } /** * @return int