Skip to content

Commit 51f4964

Browse files
committed
Remove spaces to resolve codestyle warnings
1 parent d9a4bca commit 51f4964

File tree

1 file changed

+11
-11
lines changed
  • app/code/Magento/Customer/view/frontend/templates/address

1 file changed

+11
-11
lines changed

app/code/Magento/Customer/view/frontend/templates/address/edit.phtml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
<input type="hidden" name="error_url" value="<?= $block->escapeUrl($block->getErrorUrl()) ?>">
2323
<?= $block->getNameBlockHtml() ?>
2424

25-
<?php if ($_company->isEnabled()) : ?>
25+
<?php if ($_company->isEnabled()): ?>
2626
<?= $_company->setCompany($block->getAddress()->getCompany())->toHtml() ?>
2727
<?php endif ?>
2828

29-
<?php if ($_telephone->isEnabled()) : ?>
29+
<?php if ($_telephone->isEnabled()): ?>
3030
<?= $_telephone->setTelephone($block->getAddress()->getTelephone())->toHtml() ?>
3131
<?php endif ?>
3232

33-
<?php if ($_fax->isEnabled()) : ?>
33+
<?php if ($_fax->isEnabled()): ?>
3434
<?= $_fax->setFax($block->getAddress()->getFax())->toHtml() ?>
3535
<?php endif ?>
3636

@@ -49,7 +49,7 @@
4949
class="input-text <?= $block->escapeHtmlAttr($_streetValidationClass) ?>"/>
5050
<div class="nested">
5151
<?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
52-
<?php for ($_i = 1, $_n = $this->helper(\Magento\Customer\Helper\Address::class)->getStreetLines(); $_i < $_n; $_i++) : ?>
52+
<?php for ($_i = 1, $_n = $this->helper(\Magento\Customer\Helper\Address::class)->getStreetLines(); $_i < $_n; $_i++): ?>
5353
<div class="field additional">
5454
<label class="label" for="street_<?= /* @noEscape */ $_i + 1 ?>">
5555
<span><?= $block->escapeHtml(__('Street Address %1', $_i + 1)) ?></span>
@@ -67,7 +67,7 @@
6767
</div>
6868
</div>
6969

70-
<?php if ($this->helper(\Magento\Customer\Helper\Address::class)->isVatAttributeVisible()) : ?>
70+
<?php if ($this->helper(\Magento\Customer\Helper\Address::class)->isVatAttributeVisible()): ?>
7171
<div class="field taxvat">
7272
<label class="label" for="vat_id">
7373
<span><?= /* @noEscape */ $block->getAttributeData()->getFrontendLabel('vat_id') ?></span>
@@ -134,33 +134,33 @@
134134
</div>
135135
</div>
136136

137-
<?php if ($block->isDefaultBilling()) : ?>
137+
<?php if ($block->isDefaultBilling()): ?>
138138
<div class="message info">
139139
<span><?= $block->escapeHtml(__("It's a default billing address.")) ?></span>
140140
</div>
141-
<?php elseif ($block->canSetAsDefaultBilling()) : ?>
141+
<?php elseif ($block->canSetAsDefaultBilling()): ?>
142142
<div class="field choice set billing">
143143
<input type="checkbox" id="primary_billing" name="default_billing" value="1" class="checkbox">
144144
<label class="label" for="primary_billing">
145145
<span><?= $block->escapeHtml(__('Use as my default billing address')) ?></span>
146146
</label>
147147
</div>
148-
<?php else : ?>
148+
<?php else: ?>
149149
<input type="hidden" name="default_billing" value="1" />
150150
<?php endif; ?>
151151

152-
<?php if ($block->isDefaultShipping()) : ?>
152+
<?php if ($block->isDefaultShipping()): ?>
153153
<div class="message info">
154154
<span><?= $block->escapeHtml(__("It's a default shipping address.")) ?></span>
155155
</div>
156-
<?php elseif ($block->canSetAsDefaultShipping()) : ?>
156+
<?php elseif ($block->canSetAsDefaultShipping()): ?>
157157
<div class="field choice set shipping">
158158
<input type="checkbox" id="primary_shipping" name="default_shipping" value="1" class="checkbox">
159159
<label class="label" for="primary_shipping">
160160
<span><?= $block->escapeHtml(__('Use as my default shipping address')) ?></span>
161161
</label>
162162
</div>
163-
<?php else : ?>
163+
<?php else: ?>
164164
<input type="hidden" name="default_shipping" value="1">
165165
<?php endif; ?>
166166
</fieldset>

0 commit comments

Comments
 (0)