Quellcode durchsuchen

Merge pull request #6379 from robertpustulka/patch-1

Fix callable typehint
Rob vor 8 Jahren
Ursprung
Commit
b07b4c3428
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/Composer/IO/IOInterface.php

+ 1 - 1
src/Composer/IO/IOInterface.php

@@ -131,7 +131,7 @@ interface IOInterface
      * otherwise.
      * otherwise.
      *
      *
      * @param string|array $question  The question to ask
      * @param string|array $question  The question to ask
-     * @param callback     $validator A PHP callback
+     * @param callable     $validator A PHP callback
      * @param null|int     $attempts  Max number of times to ask before giving up (default of null means infinite)
      * @param null|int     $attempts  Max number of times to ask before giving up (default of null means infinite)
      * @param mixed        $default   The default answer if none is given by the user
      * @param mixed        $default   The default answer if none is given by the user
      *
      *