diff --git a/src/ComponentInstaller.php b/src/ComponentInstaller.php index 28045ad..e2313ff 100644 --- a/src/ComponentInstaller.php +++ b/src/ComponentInstaller.php @@ -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)) {