Skip to content

Commit e9589c1

Browse files
committed
minor #471 Reverted #467 to make PHP callbacks work again (javiereguiluz)
This PR was squashed before being merged into the master branch (closes #471). Discussion ---------- Reverted #467 to make PHP callbacks work again As explained by @stof in #467 (comment) this change was wrong. Commits ------- 5f31a37 Reverted #467 to make PHP callbacks work again
2 parents 29b6f86 + 5f31a37 commit e9589c1

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

src/AppBundle/Command/AddUserCommand.php

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,10 @@ protected function execute(InputInterface $input, OutputInterface $output)
224224
}
225225
}
226226

227-
private function passwordValidator($plainPassword)
227+
/**
228+
* @internal
229+
*/
230+
public function passwordValidator($plainPassword)
228231
{
229232
if (empty($plainPassword)) {
230233
throw new \Exception('The password can not be empty.');
@@ -237,7 +240,10 @@ private function passwordValidator($plainPassword)
237240
return $plainPassword;
238241
}
239242

240-
private function emailValidator($email)
243+
/**
244+
* @internal
245+
*/
246+
public function emailValidator($email)
241247
{
242248
if (empty($email)) {
243249
throw new \Exception('The email can not be empty.');
@@ -250,7 +256,10 @@ private function emailValidator($email)
250256
return $email;
251257
}
252258

253-
private function fullNameValidator($fullName)
259+
/**
260+
* @internal
261+
*/
262+
public function fullNameValidator($fullName)
254263
{
255264
if (empty($fullName)) {
256265
throw new \Exception('The full name can not be empty.');

0 commit comments

Comments
 (0)