protected function updateRootPackageDevRequire(array $packages, int $type): void
    {
        $devRequires = $this->manipulateRootPackage(
            $packages,
            $type,
            $this->rootPackage->getDevRequires()
        );

        $this->rootPackage->setDevRequires($devRequires);
    }