Skip to content

Commit ebddfc8

Browse files
Guitejaviereguiluz
authored andcommitted
corrected argument type
the 2nd argument is required to be a string
1 parent ae9d5a3 commit ebddfc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

workflow.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ place::
620620
// Block the transition "publish" if it is more than 8 PM
621621
// with the message for end user
622622
$explanation = $event->getMetadata('explanation', $eventTransition);
623-
$event->addTransitionBlocker(new TransitionBlocker($explanation , 0));
623+
$event->addTransitionBlocker(new TransitionBlocker($explanation , '0'));
624624
}
625625

626626
public static function getSubscribedEvents()

0 commit comments

Comments
 (0)