Completed
Push — releases/v0.2.1 ( d424a1...b63a3e )
by Luke
03:04
created
src/CSVelte/IO/BufferStream.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
      * Read in the specified amount of characters from the input source
120 120
      *
121 121
      * @param integer Amount of characters to read from input source
122
-     * @return string|boolean The specified amount of characters read from input source
122
+     * @return false|string The specified amount of characters read from input source
123 123
      */
124 124
     public function read($chars)
125 125
     {
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
     /**
187 187
      * Return the current position within the stream/readable
188 188
      *
189
-     * @return int The current position within readable
189
+     * @return boolean The current position within readable
190 190
      */
191 191
     public function tell()
192 192
     {
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,9 @@
 block discarded – undo
138 138
     public function readChunk($start = null, $length = null)
139 139
     {
140 140
         //dd($this->buffer, false);
141
-        if ($this->buffer === false) return false;
141
+        if ($this->buffer === false) {
142
+            return false;
143
+        }
142 144
         $top = substr($this->buffer, 0, $start);
143 145
         $data = substr($this->buffer, $start, $length);
144 146
         $bottom = substr($this->buffer, $start + $length);
Please login to merge, or discard this patch.