diff --git a/src/Symfony/Component/Workflow/Event/GuardEvent.php b/src/Symfony/Component/Workflow/Event/GuardEvent.php index 791457bb92..1adb21815c 100644 --- a/src/Symfony/Component/Workflow/Event/GuardEvent.php +++ b/src/Symfony/Component/Workflow/Event/GuardEvent.php @@ -34,12 +34,12 @@ class GuardEvent extends Event $this->transitionBlockerList = new TransitionBlockerList(); } - public function isBlocked(): bool + public function isBlocked() { return !$this->transitionBlockerList->isEmpty(); } - public function setBlocked(bool $blocked): void + public function setBlocked($blocked) { if (!$blocked) { $this->transitionBlockerList->reset();