Wrong language.

This commit is contained in:
Neil Fraser
2019-05-15 14:01:38 -07:00
committed by Neil Fraser
parent e642a77f5d
commit ed0b5adcd1
2 changed files with 4 additions and 4 deletions

View File

@@ -188,7 +188,7 @@ Blockly.PHP['math_number_property'] = function(block) {
' return true;',
'}']);
code = functionName + '(' + number_to_check + ')';
return [code, Blockly.JavaScript.ORDER_FUNCTION_CALL];
return [code, Blockly.PHP.ORDER_FUNCTION_CALL];
}
switch (dropdown_property) {
case 'EVEN':
@@ -381,4 +381,4 @@ Blockly.PHP['math_atan2'] = function(block) {
Blockly.PHP.ORDER_COMMA) || '0';
return ['atan2(' + argument1 + ', ' + argument0 + ') / pi() * 180',
Blockly.PHP.ORDER_DIVISION];
};
};