raoul2000 / yii2-workflow

A simple workflow engine for Yii2
BSD 3-Clause "New" or "Revised" License
171 stars 48 forks source link

Syntax Error in WorkflowHelper #42

Closed Insolita closed 7 years ago

Insolita commented 7 years ago

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

raoul2000 commented 7 years ago

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

Insolita commented 7 years ago

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

raoul2000 commented 7 years ago