@@ -20,18 +20,18 @@ |
||
| 20 | 20 | |
| 21 | 21 | class SniffQuoteAndDelimByAdjacency extends AbstractSniffer |
| 22 | 22 | { |
| 23 | - /** |
|
| 24 | - * Guess quote and delimiter character(s) |
|
| 25 | - * |
|
| 26 | - * If there are quoted values within the data, it is often easiest to guess the quote and delimiter characters at |
|
| 27 | - * the same time by analyzing their adjacency to one-another. That is to say, in cases where certain values are |
|
| 28 | - * wrapped in quotes, it can often be determined what not only that quote character is, but also the delimiter |
|
| 29 | - * because it is often on either side of the quote character. |
|
| 30 | - * |
|
| 31 | - * @param string $data The data to analyze |
|
| 32 | - * |
|
| 33 | - * @return string[] |
|
| 34 | - */ |
|
| 23 | + /** |
|
| 24 | + * Guess quote and delimiter character(s) |
|
| 25 | + * |
|
| 26 | + * If there are quoted values within the data, it is often easiest to guess the quote and delimiter characters at |
|
| 27 | + * the same time by analyzing their adjacency to one-another. That is to say, in cases where certain values are |
|
| 28 | + * wrapped in quotes, it can often be determined what not only that quote character is, but also the delimiter |
|
| 29 | + * because it is often on either side of the quote character. |
|
| 30 | + * |
|
| 31 | + * @param string $data The data to analyze |
|
| 32 | + * |
|
| 33 | + * @return string[] |
|
| 34 | + */ |
|
| 35 | 35 | public function sniff($data) |
| 36 | 36 | { |
| 37 | 37 | /** |