Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
patryk authored and christopherhero committed Aug 22, 2022
1 parent 09fd0da commit a355288
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Form/Type/ChannelBasedRulePricing.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a355288

Please sign in to comment.