| @@ 253-263 (lines=11) @@ | ||
| 250 | * |
|
| 251 | * @return User |
|
| 252 | */ |
|
| 253 | protected function editGithubId( |
|
| 254 | InputInterface $input, |
|
| 255 | OutputInterface $output, |
|
| 256 | User $user, |
|
| 257 | QuestionHelper $questionHelper |
|
| 258 | ) { |
|
| 259 | $githubLoginQuestion = new Question('Github ID: '); |
|
| 260 | $user->setGithubId($questionHelper->ask($input, $output, $githubLoginQuestion)); |
|
| 261 | ||
| 262 | return $user; |
|
| 263 | } |
|
| 264 | ||
| 265 | /** |
|
| 266 | * @param InputInterface $input |
|
| @@ 273-283 (lines=11) @@ | ||
| 270 | * |
|
| 271 | * @return User |
|
| 272 | */ |
|
| 273 | protected function editGoogleId( |
|
| 274 | InputInterface $input, |
|
| 275 | OutputInterface $output, |
|
| 276 | User $user, |
|
| 277 | QuestionHelper $questionHelper |
|
| 278 | ) { |
|
| 279 | $googleLoginQuestion = new Question('Google ID: '); |
|
| 280 | $user->setGoogleId($questionHelper->ask($input, $output, $googleLoginQuestion)); |
|
| 281 | ||
| 282 | return $user; |
|
| 283 | } |
|
| 284 | ||
| 285 | /** |
|
| 286 | * @param InputInterface $input |
|