Skip to content

Commit 7eb2ae6

Browse files
karyna-tandrewbess
authored andcommitted
34441: CR improvements
1 parent 32b5310 commit 7eb2ae6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Customer/Controller/Adminhtml/Index/InlineEdit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ protected function getData(array $data, $isCustomerData = null)
179179
$addressKeys = preg_grep(
180180
'/^(' . AttributeRepository::BILLING_ADDRESS_PREFIX . '\w+)/',
181181
array_keys($data),
182-
$isCustomerData ?? 0
182+
(int) $isCustomerData
183183
);
184184
$result = array_intersect_key($data, array_flip($addressKeys));
185185
if ($isCustomerData === null) {

0 commit comments

Comments
 (0)