Test Setup Failed
Pull Request — master (#23)
by
unknown
01:48
created
src/LTDBeget/dns/record/RData.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -314,8 +314,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
             }
Please login to merge, or discard this patch.