Passed
Push — main ( 5b9673...12135c )
by Jesse
01:34
created
src/Helpers/Between.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,8 +38,8 @@
 block discarded – undo
38 38
     ): Parser {
39 39
         return Between::these($from, $to, Join::the(Repeatable::parser(AllOrNothing::in(Either::of(
40 40
             Map::the(($escape2 ?: $escape) . $escape, fn() => $escape), // escaped escape
41
-            Join::the(Sequence::of(Ignore::the($escape), $to)),         // escaped end
42
-            Except::for($to, Any::symbol()),                            // anything else
41
+            Join::the(Sequence::of(Ignore::the($escape), $to)), // escaped end
42
+            Except::for ($to, Any::symbol()), // anything else
43 43
         )))));
44 44
     }
45 45
 }
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,9 @@
 block discarded – undo
39 39
         return Between::these($from, $to, Join::the(Repeatable::parser(AllOrNothing::in(Either::of(
40 40
             Map::the(($escape2 ?: $escape) . $escape, fn() => $escape), // escaped escape
41 41
             Join::the(Sequence::of(Ignore::the($escape), $to)),         // escaped end
42
-            Except::for($to, Any::symbol()),                            // anything else
42
+            Except::for($to, Any::symbol()) {
43
+                ,                            // anything else
43 44
         )))));
45
+            }
44 46
     }
45 47
 }
Please login to merge, or discard this patch.