mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-05 14:25:00 +00:00
cs: Fix code-style (using PHPCSFixer and PHPCS).
This commit is contained in:
@@ -30,10 +30,12 @@ class DefaultTaskGuardEvent implements EventSubscriberInterface
|
||||
|
||||
public function checkACL(GuardEvent $event)
|
||||
{
|
||||
if (false === $this->authorizationChecker->isGranted(
|
||||
TaskVoter::UPDATE,
|
||||
$event->getSubject()
|
||||
)) {
|
||||
if (
|
||||
false === $this->authorizationChecker->isGranted(
|
||||
TaskVoter::UPDATE,
|
||||
$event->getSubject()
|
||||
)
|
||||
) {
|
||||
$event->setBlocked(true);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user