Aggiornato Composer
This commit is contained in:
4
vendor/symfony/console/Question/Question.php
vendored
4
vendor/symfony/console/Question/Question.php
vendored
@@ -186,7 +186,7 @@ class Question
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setAutocompleterCallback(callable $callback = null): self
|
||||
public function setAutocompleterCallback(?callable $callback = null): self
|
||||
{
|
||||
if ($this->hidden && null !== $callback) {
|
||||
throw new LogicException('A hidden question cannot use the autocompleter.');
|
||||
@@ -202,7 +202,7 @@ class Question
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setValidator(callable $validator = null)
|
||||
public function setValidator(?callable $validator = null)
|
||||
{
|
||||
$this->validator = $validator;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user