Convert variable names to camel case

[MAILPOET-1796]
This commit is contained in:
Jan Jakeš
2020-01-09 15:02:58 +01:00
committed by Jan Jakeš
parent f5da704106
commit 54549ff037
687 changed files with 15890 additions and 15887 deletions

View File

@@ -6,10 +6,10 @@ class Text extends Base {
public static function render($block) {
$type = 'text';
$automation_id = ' ';
$automationId = ' ';
if ($block['id'] === 'email') {
$type = 'email';
$automation_id = 'data-automation-id="form_email" ';
$automationId = 'data-automation-id="form_email" ';
}
$html = '<p class="mailpoet_paragraph">';
@@ -24,7 +24,7 @@ class Text extends Base {
$html .= 'value="' . static::getFieldValue($block) . '" ';
$html .= $automation_id;
$html .= $automationId;
$html .= static::renderInputPlaceholder($block);