Skip to content

Commit

Permalink
Fix GH-2635: Fix switch alternative syntax (#2648)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandre-daubois authored Aug 7, 2023
1 parent 4c676da commit 1d73d6e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions language/control-structures/alternative-syntax.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,10 @@ endif;
<programlisting role="php">
<![CDATA[
<?php switch ($foo): ?>
<?php case 1: ?>
...
<?php endswitch ?>
<?php endswitch; ?>
]]>
</programlisting>
</informalexample>
Expand All @@ -85,7 +86,7 @@ endif;
<?php switch ($foo): ?>
<?php case 1: ?>
...
<?php endswitch ?>
<?php endswitch; ?>
]]>
</programlisting>
</informalexample>
Expand Down

0 comments on commit 1d73d6e

Please sign in to comment.