Skip to content

Commit

Permalink
remove odd looking null coalesce
Browse files Browse the repository at this point in the history
  • Loading branch information
sighphyre committed Nov 8, 2023
1 parent 05a17d4 commit d788737
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DefaultUnleash.php
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ private function isFeatureEnabled(?Feature $feature, Context $context, bool $def

if (!$feature->isEnabled()) {
$event = new FeatureToggleDisabledEvent($feature, $context);
$this->configuration->getEventDispatcher()?->dispatch(
$this->configuration->getEventDispatcher()->dispatch(
$event,
UnleashEvents::FEATURE_TOGGLE_DISABLED,
);
Expand Down

0 comments on commit d788737

Please sign in to comment.