main/core/Library/Installation/OperationExecutor.php
private function buildOperation($type, $package)
    {
        $vendorDir = $this->kernel->getRootDir().'/../vendor';
        $targetDir = $package->getTargetDir() ?: '';
        $packageDir = empty($targetDir) ?
            $package->getPrettyName() :
            "{$package->getName()}/{$targetDir}";
        $fqcn = $this->detector->detectBundle("{$vendorDir}/{$packageDir}");

        return new Operation($type, $package, $fqcn);
    }
private function buildOperation($type, $package)
    {
        $vendorDir = $this->kernel->getRootDir().'/../vendor';
        $targetDir = $package->getTargetDir() ?: '';
        $packageDir = empty($targetDir) ?
            $package->getPrettyName() :
            "{$package->getName()}/{$targetDir}";
        $fqcn = $this->detector->detectBundle("{$vendorDir}/{$packageDir}");

        return new Operation($type, $package, $fqcn);
    }
private function buildOperation ( $ type , $ package ) { $ vendorDir = $ this -> kernel -> getRootDir ( ) . '/../vendor' ; $ targetDir = $ package -> getTargetDir ( ) ? : '' ; $ packageDir = empty ( $ targetDir ) ? $ package -> getPrettyName ( ) : "{$package->getName()}/{$targetDir}" ; $ fqcn = $ this -> detector -> detectBundle ( "{$vendorDir}/{$packageDir}" ) ; return new Operation ( $ type , $ package , $ fqcn ) ; }
Composer\Package\PackageInterface but the use causes some issue
Composer \ Package \ PackageInterface but the use causes some issue