Skip to content

Commit defb142

Browse files
committed
minor #13856 [workflow] corrected argument type (Guite)
This PR was submitted for the master branch but it was merged into the 4.4 branch instead. Discussion ---------- [workflow] corrected argument type the 2nd argument is required to be a string Commits ------- ebddfc8 corrected argument type
2 parents ae9d5a3 + ebddfc8 commit defb142

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)