Syntax Error in WorkflowHelper
Insolita opened this issue · comments
Insolita commented
https://github.com/raoul2000/yii2-workflow/blob/master/src/helpers/WorkflowHelper.php#L153
used ($this->owner) in static method, probably you mean use $model
raoul commented
Hi @Insolita,
it indeed seems like a big bug !! I'll fix that as soon as possible.
Thanks for the report 😉
Insolita commented
Thanks! (it's one of a few methods, not covered with tests ;-))
raoul commented
- simple unit test added