reformat: fix codestyle issues
This commit is contained in:
@@ -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'
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user