File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
dev/tests/functional/tests/app/Magento/Customer/Test/Block/Adminhtml/Edit/Tab Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -167,14 +167,14 @@ public function getDataAddresses($address = null)
167
167
$ addresses = is_array ($ address ) ? $ address : [1 => $ address ];
168
168
169
169
foreach ($ addresses as $ addressNumber => $ address ) {
170
- $ isHasData = (null !== $ address ) && $ address ->hasData ();
170
+ $ hasData = (null !== $ address ) && $ address ->hasData ();
171
171
$ isVisibleCustomerAddress = $ this ->isVisibleCustomerAddress ($ addressNumber );
172
172
173
- if ($ isHasData && !$ isVisibleCustomerAddress ) {
173
+ if ($ hasData && !$ isVisibleCustomerAddress ) {
174
174
throw new \Exception ("Invalid argument: can't get data from customer address # {$ addressNumber }" );
175
175
}
176
176
177
- if (!$ isHasData && !$ isVisibleCustomerAddress ) {
177
+ if (!$ hasData && !$ isVisibleCustomerAddress ) {
178
178
$ data [$ addressNumber ] = [];
179
179
} else {
180
180
$ this ->openCustomerAddress ($ addressNumber );
You can’t perform that action at this time.
0 commit comments