Skip to content

Commit 19fba63

Browse files
Make sure to return a string
1 parent f4485d2 commit 19fba63

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Console/IO/ComposerIO.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public function writeError($messages, $newline = true, $verbosity = self::NORMAL
9191
*/
9292
public function ask($question, $default = null)
9393
{
94-
return $this->io->ask($question, $default);
94+
return (string) $this->io->ask($question, $default);
9595
}
9696

9797
/**

0 commit comments

Comments
 (0)