mirror of
https://github.com/composer/composer
synced 2025-05-09 08:32:56 +00:00
Add return types to private/internal methods
This commit is contained in:
parent
abdc6893a6
commit
a16ed3d0ed
134 changed files with 365 additions and 359 deletions
|
@ -43,7 +43,7 @@ class FileDownloaderTest extends TestCase
|
|||
* @param \Composer\Util\Filesystem $filesystem
|
||||
* @return \Composer\Downloader\FileDownloader
|
||||
*/
|
||||
protected function getDownloader($io = null, $config = null, $eventDispatcher = null, $cache = null, $httpDownloader = null, $filesystem = null)
|
||||
protected function getDownloader($io = null, $config = null, $eventDispatcher = null, $cache = null, $httpDownloader = null, $filesystem = null): \Composer\Downloader\FileDownloader
|
||||
{
|
||||
$io = $io ?: $this->getMockBuilder('Composer\IO\IOInterface')->getMock();
|
||||
$config = $config ?: $this->config;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue