Skip to content

ArgInfo::validate() crippled validator call #112

@exteon

Description

@exteon

Using CLIFramework 3: in ArgInfo::validate():

return call_user_func($this->validator);

Unless I am missing something, there is no way for the validator to get the value to validate so validator is kindof pointless. Prolly should be

return call_user_func($this->validator,$value);

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