Skip to content

Reverted #467 to make PHP callbacks work again #471

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

Reverted #467 to make PHP callbacks work again #471

wants to merge 2 commits into from

Conversation

javiereguiluz
Copy link
Member

As explained by @stof in #467 (comment) this change was wrong.

@@ -222,7 +222,12 @@ protected function execute(InputInterface $input, OutputInterface $output)
}
}

private function passwordValidator($plainPassword)
/**
* This internal method should be private, but PHP requires callbacks to be declared public.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it should be private, as you pass it to something else.

If you want to make it private, use a closure as actual validator though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants