From a355288effc152562bc91823ebabc12f226e3073 Mon Sep 17 00:00:00 2001 From: patryk Date: Thu, 11 Aug 2022 12:58:33 +0200 Subject: [PATCH] fix build --- src/Form/Type/ChannelBasedRulePricing.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Form/Type/ChannelBasedRulePricing.php b/src/Form/Type/ChannelBasedRulePricing.php index bc92fc8..8cfedaf 100644 --- a/src/Form/Type/ChannelBasedRulePricing.php +++ b/src/Form/Type/ChannelBasedRulePricing.php @@ -22,7 +22,6 @@ public function configureOptions(OptionsResolver $resolver): void $resolver->setDefaults([ 'entry_type' => ChannelPriceType::class, 'entry_options' => function (ChannelInterface $channel) { - if (null == $channel->getBaseCurrency()) return [ 'label' => $channel->getCode(), 'currency' => !is_null($channel->getBaseCurrency()) ? $channel->getBaseCurrency()->getCode() : null,