Skip to content

Commit 48fb620

Browse files
committed
Contact > Form > Refactoring notation
1 parent 0a21e6c commit 48fb620

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Contact/view/frontend/templates

1 file changed

+1
-1
lines changed

app/code/Magento/Contact/view/frontend/templates/form.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<div class="field telephone">
3131
<label class="label" for="telephone"><span><?= $block->escapeHtml(__('Phone Number')) ?></span></label>
3232
<div class="control">
33-
<input name="telephone" id="telephone" title="<?= $block->escapeHtmlAttr(__('Phone Number')) ?>" value="<?= $block->escapeHtmlAttr($this->helper('Magento\Contact\Helper\Data')->getPostValue('telephone')) ?>" class="input-text" type="tel" />
33+
<input name="telephone" id="telephone" title="<?= $block->escapeHtmlAttr(__('Phone Number')) ?>" value="<?= $block->escapeHtmlAttr($this->helper(\Magento\Contact\Helper\Data::class)->getPostValue('telephone')) ?>" class="input-text" type="tel" />
3434
</div>
3535
</div>
3636
<div class="field comment required">

0 commit comments

Comments
 (0)