adapt to code standard
This commit is contained in:
parent
d29b8332e1
commit
2d23123660
|
|
@ -145,8 +145,7 @@ class Configurable extends AbstractType
|
|||
|
||||
$typeOfVariants = 'simple';
|
||||
$productInstance = app(config('product_types.' . $product->type . '.class'));
|
||||
if ($productInstance->variantsType && !in_array($productInstance->variantsType , ['bundle', 'configurable', 'grouped']))
|
||||
{
|
||||
if ($productInstance->variantsType && ! in_array($productInstance->variantsType , ['bundle', 'configurable', 'grouped'])) {
|
||||
$typeOfVariants = $productInstance->variantsType;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue