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