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