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'); throw new InvalidArgumentException('store.product_interaction_mode must be a string');
} }
if (isset($data['product_interaction_mode']) && ! in_array( if (
$data['product_interaction_mode'], isset($data['product_interaction_mode'])
['order', 'manager', 'browser'], && ! in_array($data['product_interaction_mode'], ['order', 'manager', 'browser'], true)
true ) {
)) {
throw new InvalidArgumentException( throw new InvalidArgumentException(
'store.product_interaction_mode must be one of: order, manager, browser' 'store.product_interaction_mode must be one of: order, manager, browser'
); );