Completed
Push — releases/v0.2 ( 47521e...f0dc0e )
by Luke
05:38
created
src/CSVelte/Reader.php 1 patch
Doc Comments   +7 added lines, -3 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
      * accept any string (or any object with a __toString() method), or an
128 128
      * SplFileObject, so long as it represents a file rather than a directory. 
129 129
      *
130
-     * @param \CSVelte\Contract\Readable|object|string|SplFileObject $input See description
130
+     * @param Readable $input See description
131 131
      * @return $this
132 132
      */
133 133
     protected function setSource($input)
@@ -328,6 +328,9 @@  discard block
 block discarded – undo
328 328
      * @todo This actually shouldn't even be necessary. Characters should be read
329 329
      *     in one at a time and a quote that follows another should just be ignored
330 330
      *     deeming this unnecessary.
331
+     * @param string $str
332
+     * @param string $esc
333
+     * @param string $quo
331 334
      */
332 335
     protected function unEscape($str, $esc, $quo)
333 336
     {
@@ -338,6 +341,7 @@  discard block
 block discarded – undo
338 341
      * Parse a line of CSV data into an array of columns
339 342
      *
340 343
      * @param string A line of CSV data to parse
344
+     * @param string $line
341 345
      * @return array An array of columns
342 346
      * @access protected
343 347
      * @internal
@@ -417,7 +421,7 @@  discard block
 block discarded – undo
417 421
     /**
418 422
      * Retrieve header row.
419 423
      *
420
-     * @return CSVelte\Table\HeaderRow|null The header row if there is one
424
+     * @return HeaderRow The header row if there is one
421 425
      */
422 426
     public function header()
423 427
     {
@@ -458,7 +462,7 @@  discard block
 block discarded – undo
458 462
     /**
459 463
      * Returns an iterator with rows from user-supplied filter functions removed
460 464
      *
461
-     * @return CSVelte\Reader\FilteredReader An iterator with filtered rows
465
+     * @return FilteredReader An iterator with filtered rows
462 466
      */
463 467
     public function filter()
464 468
     {
Please login to merge, or discard this patch.