- Added a loop index in AbstractLoop control struct.
This commit is contained in:
1 parent
e737e82d7e
commit
ef95576d74
10 files changed
+73
-36
No files matched your search
@@ -23,11 +23,13 @@ class SwitchToken implements ControlStructure {
|
||||
}
|
||||
|
||||
return ( $output ?? "" ) . "case $arguments: ?>";
|
||||
|
||||
|
||||
case "endcase":
|
||||
case "/case":
|
||||
return "<?php break; ?>";
|
||||
|
||||
case "endswitch":
|
||||
case "/switch":
|
||||
return "<?php endswitch; ?>";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user