@@ -165,6 +165,7 @@ discard block |
||
165 | 165 | * replaceQuotedSpecialChars method which (at least to me) makes more sense. |
166 | 166 | * |
167 | 167 | * @param string The string to replace quoted strings within |
168 | + * @param string $data |
|
168 | 169 | * @return string The input string with quoted strings removed |
169 | 170 | * @access protected |
170 | 171 | * @todo Replace code that uses this method with the replaceQuotedSpecialChars |
@@ -414,7 +415,7 @@ discard block |
||
414 | 415 | * Determine whether a particular string of data has quotes around it. |
415 | 416 | * |
416 | 417 | * @param string The data to check |
417 | - * @return boolean Whether the data is quoted or not |
|
418 | + * @return integer Whether the data is quoted or not |
|
418 | 419 | * @access protected |
419 | 420 | */ |
420 | 421 | protected function isQuoted($data) |
@@ -464,6 +465,8 @@ discard block |
||
464 | 465 | * |
465 | 466 | * @param string The string to do the replacements on |
466 | 467 | * @param string The delimiter character to replace |
468 | + * @param string $data |
|
469 | + * @param string $delim |
|
467 | 470 | * @return string The data with replacements performed |
468 | 471 | * @access protected |
469 | 472 | * @todo I could probably pass in (maybe optionally) the newline character I |
@@ -490,6 +493,7 @@ discard block |
||
490 | 493 | * to be practical. |
491 | 494 | * |
492 | 495 | * @param string The string of data to check the type of |
496 | + * @param string $data |
|
493 | 497 | * @return string One of the TYPE_ string constants above |
494 | 498 | * @access protected |
495 | 499 | * @uses \Carbon\Carbon date/time ilbrary/class |
@@ -546,6 +550,7 @@ discard block |
||
546 | 550 | * @param string $delim The CSV data's delimiting char (can be a variety of chars but) |
547 | 551 | * typically $eol is either a comma or a tab, sometimes a pipe) |
548 | 552 | * @param string The CSV data's end-of-line char(s) (\n \r or \r\n) |
553 | + * @param string $eol |
|
549 | 554 | * @return boolean True if the data (most likely) contains a header row |
550 | 555 | * @access public |
551 | 556 | * @todo This method needs a total refactor. It's not necessary to loop twice |