Skip to content

Commit

Permalink
Add return type
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed Feb 18, 2022
1 parent aa33376 commit ffbbc1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/composer/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Factory extends \Composer\Factory
* @param Loop $loop
* @return Archiver\ArchiveManager
*/
public function createArchiveManager(Config $config, DownloadManager $dm, Loop $loop)
public function createArchiveManager(Config $config, DownloadManager $dm, Loop $loop): Archiver\ArchiveManager
{
$am = new Archiver\ArchiveManager($dm, $loop);
// $am->addArchiver(new Archiver\ZipArchiver);
Expand Down

0 comments on commit ffbbc1b

Please sign in to comment.