From 565475db45aed717c80fa12418a90d04c7488582 Mon Sep 17 00:00:00 2001 From: Laria Carolin Chabowski Date: Fri, 1 May 2020 17:58:15 +0200 Subject: More code formatting --- src/ste/Transcompiler.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ste/Transcompiler.php b/src/ste/Transcompiler.php index 88c008e..1c65185 100644 --- a/src/ste/Transcompiler.php +++ b/src/ste/Transcompiler.php @@ -151,9 +151,9 @@ class Transcompiler $code .= $pre . "switch(trim(" . $val . "))\n{\n\t"; $code .= implode("", array_map( function ($op) use ($a,$b) { - list($op_stetpl, $op_php) = $op; - return "case '$op_stetpl':\n\t\$outputstack[\$outputstack_i] .= (($a) $op_php ($b)) ? 'yes' : '';\n\tbreak;\n\t"; - }, + list($op_stetpl, $op_php) = $op; + return "case '$op_stetpl':\n\t\$outputstack[\$outputstack_i] .= (($a) $op_php ($b)) ? 'yes' : '';\n\tbreak;\n\t"; + }, $operators )); $code .= "default: throw new \\kch42\\ste\\RuntimeError('Unknown operator in .');\n}\n"; -- cgit v1.2.3-70-g09d2