Security update for Core, with self-updated composer
[yaffs-website] / vendor / symfony / console / Question / Question.php
index a618e7aa3ee53227217b2630a982d0fc0313785b..6425cc5416b6be9df5282b00055eadd50beb9af5 100644 (file)
@@ -164,7 +164,7 @@ class Question
      *
      * @return $this
      */
-    public function setValidator($validator)
+    public function setValidator(callable $validator = null)
     {
         $this->validator = $validator;
 
@@ -224,7 +224,7 @@ class Question
      *
      * @return $this
      */
-    public function setNormalizer($normalizer)
+    public function setNormalizer(callable $normalizer)
     {
         $this->normalizer = $normalizer;