raoul2000 / yii2-workflow

A simple workflow engine for Yii2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Syntax Error in WorkflowHelper

Insolita opened this issue · comments

https://github.com/raoul2000/yii2-workflow/blob/master/src/helpers/WorkflowHelper.php#L153
used ($this->owner) in static method, probably you mean use $model

commented

Hi @Insolita,
it indeed seems like a big bug !! I'll fix that as soon as possible.
Thanks for the report 😉

Thanks! (it's one of a few methods, not covered with tests ;-))

commented
  • simple unit test added