Remove deprecated usage

null is also deprecated but must be conserved for BC purpose. Also it will
will not let the develop think string is ok.
This commit is contained in:
Maxime Veber 2019-03-19 10:13:19 +01:00
parent f407a2bfa9
commit eeb3c29fab

View File

@ -27,7 +27,7 @@ class GuardEvent extends Event
/**
* {@inheritdoc}
*/
public function __construct($subject, Marking $marking, Transition $transition, $workflowName = 'unnamed')
public function __construct($subject, Marking $marking, Transition $transition, $workflowName = null)
{
parent::__construct($subject, $marking, $transition, $workflowName);