Completed
Push — releases/v0.2.1 ( c795d8...14b6b0 )
by Luke
02:51
created
src/CSVelte/Reader.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -329,7 +329,7 @@
 block discarded – undo
329 329
      * @param string $str The string to unescape
330 330
      * @param string $esc The escape character used
331 331
      * @param string $quo The quote character used
332
-     * @return mixed The string with characters unescaped
332
+     * @return string The string with characters unescaped
333 333
      * @todo This actually shouldn't even be necessary. Characters should be read
334 334
      *     in one at a time and a quote that follows another should just be ignored
335 335
      *     deeming this unnecessary.
Please login to merge, or discard this patch.
src/CSVelte/Taster.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -562,7 +562,7 @@
 block discarded – undo
562 562
      * Determine whether a particular string of data has quotes around it.
563 563
      *
564 564
      * @param string $data The data to check
565
-     * @return boolean Whether the data is quoted or not
565
+     * @return integer Whether the data is quoted or not
566 566
      */
567 567
     protected function isQuoted($data)
568 568
     {
Please login to merge, or discard this patch.
src/CSVelte/Writer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -171,7 +171,7 @@
 block discarded – undo
171 171
      * This means taking an array of data, and converting it to a Row object
172 172
      *
173 173
      * @param \Iterator $row of data items
174
-     * @return AbstractRow
174
+     * @return string
175 175
      */
176 176
     protected function prepareRow(Iterator $row)
177 177
     {
Please login to merge, or discard this patch.
src/CSVelte/IO/Stream.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
     /**
147 147
      * Close stream resource.
148 148
      *
149
-     * @return boolean True on success or false on failure
149
+     * @return boolean|null True on success or false on failure
150 150
      */
151 151
     public function close()
152 152
     {
@@ -266,7 +266,7 @@  discard block
 block discarded – undo
266 266
      *
267 267
      * After the stream has been detached, the stream is in an unusable state.
268 268
      *
269
-     * @return Resource|null Underlying PHP stream, if any
269
+     * @return Resource Underlying PHP stream, if any
270 270
      */
271 271
     public function detach()
272 272
     {
Please login to merge, or discard this patch.