Change `callback` to `callable`

main
Beau Simensen 12 years ago
parent 6efbc7d531
commit 340ac49d87

@ -33,7 +33,7 @@ class GitHubDriver extends VcsDriver
* @param string $url * @param string $url
* @param IOInterface $io * @param IOInterface $io
* @param ProcessExecutor $process * @param ProcessExecutor $process
* @param callback $remoteFilesystemGenerator * @param callable $remoteFilesystemGenerator
*/ */
public function __construct($url, IOInterface $io, ProcessExecutor $process = null, $remoteFilesystemGenerator = null) public function __construct($url, IOInterface $io, ProcessExecutor $process = null, $remoteFilesystemGenerator = null)
{ {

@ -35,7 +35,7 @@ abstract class VcsDriver implements VcsDriverInterface
* @param string $url The URL * @param string $url The URL
* @param IOInterface $io The IO instance * @param IOInterface $io The IO instance
* @param ProcessExecutor $process Process instance, injectable for mocking * @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) public function __construct($url, IOInterface $io, ProcessExecutor $process = null, $remoteFilesystemGenerator = null)
{ {

Loading…
Cancel
Save