@@ -314,8 +314,7 @@ discard block |
||
| 314 | 314 | return; |
| 315 | 315 | } elseif($this->multiLineOpened && $ord === AsciiChar::LINE_FEED) { |
| 316 | 316 | goto start; |
| 317 | - } |
|
| 318 | - elseif(!$this->commentOpen) { |
|
| 317 | + } elseif(!$this->commentOpen) { |
|
| 319 | 318 | // Double quotes aren't required to start a string, but if they start the string then they must also end the string |
| 320 | 319 | if($ord !== AsciiChar::DOUBLE_QUOTES) { |
| 321 | 320 | $this->stream->previous(); |
@@ -352,8 +351,7 @@ discard block |
||
| 352 | 351 | if($this->txtRecordHasQuotes) { |
| 353 | 352 | $this->stream->previous(); |
| 354 | 353 | throw new SyntaxErrorException($this->stream); |
| 355 | - } |
|
| 356 | - else { |
|
| 354 | + } else { |
|
| 357 | 355 | return; |
| 358 | 356 | } |
| 359 | 357 | } |