@@ -329,7 +329,7 @@ |
||
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. |
@@ -14,11 +14,9 @@ |
||
14 | 14 | namespace CSVelte; |
15 | 15 | |
16 | 16 | use CSVelte\Contract\Streamable; |
17 | - |
|
18 | 17 | use CSVelte\Table\Row; |
19 | 18 | use CSVelte\Table\HeaderRow; |
20 | 19 | use CSVelte\Reader\FilteredIterator as FilteredReader; |
21 | - |
|
22 | 20 | use CSVelte\Exception\EndOfFileException; |
23 | 21 | |
24 | 22 | use function |
@@ -562,7 +562,7 @@ |
||
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 | { |