Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Mar 7, 2024
1 parent c856a9a commit 96cc298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/CreatePollHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function handle(CreatePoll $command)
if (!$this->settings->get('fof-polls.enableGlobalPolls')) {
throw new PermissionDeniedException('Global polls are not enabled');
}

$command->actor->assertCan('startGlobalPoll');
}

Expand Down

0 comments on commit 96cc298

Please sign in to comment.