reformat: fix codestyle issues

This commit is contained in:
2025-12-25 18:46:18 +03:00
parent bf99bfe8a4
commit 60c0c832e0

View File

@@ -289,11 +289,10 @@ class SettingsSerializerService
throw new InvalidArgumentException('store.product_interaction_mode must be a string');
}
if (isset($data['product_interaction_mode']) && ! in_array(
$data['product_interaction_mode'],
['order', 'manager', 'browser'],
true
)) {
if (
isset($data['product_interaction_mode'])
&& ! in_array($data['product_interaction_mode'], ['order', 'manager', 'browser'], true)
) {
throw new InvalidArgumentException(
'store.product_interaction_mode must be one of: order, manager, browser'
);