mirror of
https://github.com/google/blockly.git
synced 2026-01-07 00:50:27 +01:00
chore: Convert == to === and != to !== where possible. (#5599)
This commit is contained in:
@@ -24,7 +24,7 @@ Blockly.PHP['procedures_defreturn'] = function(block) {
|
||||
var variables = Blockly.Variables.allUsedVarModels(workspace) || [];
|
||||
for (var i = 0, variable; variable = variables[i]; i++) {
|
||||
var varName = variable.name;
|
||||
if (block.getVars().indexOf(varName) == -1) {
|
||||
if (block.getVars().indexOf(varName) === -1) {
|
||||
globals.push(Blockly.PHP.nameDB_.getName(varName,
|
||||
Blockly.VARIABLE_CATEGORY_NAME));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user