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:
parent
f407a2bfa9
commit
eeb3c29fab
@ -27,7 +27,7 @@ class GuardEvent extends Event
|
|||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@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);
|
parent::__construct($subject, $marking, $transition, $workflowName);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user