1
0
Fork 0

Change `callback` to `callable`

pull/424/head
Beau Simensen 2012-03-10 09:54:42 -08:00
parent 6efbc7d531
commit 340ac49d87
2 changed files with 2 additions and 2 deletions

View File

@ -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)
{ {

View File

@ -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)
{ {