🔧
This commit is contained in:
@@ -91,12 +91,12 @@ interface StyleInterface
|
||||
/**
|
||||
* Asks a question.
|
||||
*/
|
||||
public function ask(string $question, string $default = null, callable $validator = null): mixed;
|
||||
public function ask(string $question, ?string $default = null, ?callable $validator = null): mixed;
|
||||
|
||||
/**
|
||||
* Asks a question with the user input hidden.
|
||||
*/
|
||||
public function askHidden(string $question, callable $validator = null): mixed;
|
||||
public function askHidden(string $question, ?callable $validator = null): mixed;
|
||||
|
||||
/**
|
||||
* Asks for confirmation.
|
||||
|
||||
Reference in New Issue
Block a user