Lint corrections.

This commit is contained in:
Neil Fraser
2015-07-02 19:41:10 -07:00
parent d1f6bdb173
commit d819db2acf
6 changed files with 16 additions and 8 deletions

View File

@@ -153,7 +153,8 @@ Blockly.PHP['controls_forEach'] = function(block) {
var branch = Blockly.PHP.statementToCode(block, 'DO');
branch = Blockly.PHP.addLoopTrap(branch, block.id);
var code = '';
code += 'foreach (' + argument0 + ' as ' + variable0 + ') {\n' + branch + '}\n';
code += 'foreach (' + argument0 + ' as ' + variable0 +
') {\n' + branch + '}\n';
return code;
};