Commit be915d46 authored by Daniel Hürtgen's avatar Daniel Hürtgen

BUGFIX: Make finder installer constructor argument optional

parent 2ec0cf36
Pipeline #275 passed with stage
in 12 minutes and 20 seconds
......@@ -59,7 +59,7 @@ class Installer extends LibraryInstaller
$type = self::TYPE,
Filesystem $filesystem = null,
BinaryInstaller $binaryInstaller = null,
Finder $finder
Finder $finder = null
) {
parent::__construct($io, $composer, $type, $filesystem, $binaryInstaller);
$this->finder = $finder ?: new Finder();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment