diff --git a/src/Composer/Repository/Vcs/GitHubDriver.php b/src/Composer/Repository/Vcs/GitHubDriver.php index db717e570..dd7bc1c99 100644 --- a/src/Composer/Repository/Vcs/GitHubDriver.php +++ b/src/Composer/Repository/Vcs/GitHubDriver.php @@ -33,7 +33,7 @@ class GitHubDriver extends VcsDriver * @param string $url * @param IOInterface $io * @param ProcessExecutor $process - * @param callback $remoteFilesystemGenerator + * @param callable $remoteFilesystemGenerator */ public function __construct($url, IOInterface $io, ProcessExecutor $process = null, $remoteFilesystemGenerator = null) { diff --git a/src/Composer/Repository/Vcs/VcsDriver.php b/src/Composer/Repository/Vcs/VcsDriver.php index 3bd847553..2ecfaebc2 100644 --- a/src/Composer/Repository/Vcs/VcsDriver.php +++ b/src/Composer/Repository/Vcs/VcsDriver.php @@ -35,7 +35,7 @@ abstract class VcsDriver implements VcsDriverInterface * @param string $url The URL * @param IOInterface $io The IO instance * @param ProcessExecutor $process Process instance, injectable for mocking - * @param callback $remoteFilesystemGenerator Generates Remote Filesystem, injectable for mocking + * @param callable $remoteFilesystemGenerator Generates Remote Filesystem, injectable for mocking */ public function __construct($url, IOInterface $io, ProcessExecutor $process = null, $remoteFilesystemGenerator = null) {