Skip to content

Refresh routes throw PHP Recoverable Error if use Dependency Injection #170

@sallfris

Description

@sallfris

Hi, if use dependency injection "Refresh routes" throw PHP Recoverable Error
https://yadi.sk/i/BCITOaHV3HNpvA

at line:
https://github.com/webvimark/user-management/blob/master/components/AuthHelper.php#L353

Its fixed if to use $controller = Yii::createObject($className, [$prefix . $id, $module]);`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions