Skip to content

Commit

Permalink
qa: fix line-length issue
Browse files Browse the repository at this point in the history
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
  • Loading branch information
boesing committed Mar 22, 2022
1 parent 3cd1c00 commit 04bb6b2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/ComponentInstaller.php
Expand Up @@ -548,7 +548,11 @@ private function promptToRememberOption(InjectorInterface $injector, $packageTyp
while (true) {
$answer = $this->io->ask(implode($ask), 'y');
if (! is_string($answer)) {
throw new RuntimeException(sprintf('Expected `%s#ask` to return a string: "%s" returned', IOInterface::class, gettype($answer)));
throw new RuntimeException(sprintf(
'Expected `%s#ask` to return a string: "%s" returned',
IOInterface::class,
gettype($answer)
));
}

switch (strtolower($answer)) {
Expand Down

0 comments on commit 04bb6b2

Please sign in to comment.