closed internal TODO, added parentheses as this is a minimized if/else block

Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2017-03-25 13:30:12 +01:00
parent b830d839f0
commit 48a1d97f46
No known key found for this signature in database
GPG Key ID: B72F8185C6C7BD78
1 changed files with 1 additions and 2 deletions

View File

@ -110,8 +110,7 @@ function po2php_run(&$argv, &$argc) {
$out .= '"' . $v . '"'; $out .= '"' . $v . '"';
} }
if ($k != "") { if ($k != "") {
/// @TODO Maybe add parentheses here? $out .= ($arr) ? ");\n" : ";\n";
$out .= $arr ? ");\n" : ";\n";
} }
$arr = false; $arr = false;
$k = str_replace("msgid ", "", $l); $k = str_replace("msgid ", "", $l);