public function addDetectedVersion($version, $kind, $repoName)
    {
        $this->detectedVersions[$version] = [
            'kind' => $kind,
            'repoName' => $repoName,
        ];

        return $this;
    }
public function addDetectedVersion($version, $kind, $repoName)
    {
        $this->detectedVersions[$version] = [
            'kind' => $kind,
            'repoName' => $repoName,
        ];

        return $this;
    }
public function addDetectedVersion ( $ version , $ kind , $ repoName ) { $ this -> detectedVersions [ $ version ] = [ 'kind' => $ kind , 'repoName' => $ repoName , ] ; return $ this ; }
Add a repository detected version.

@param string $version
@param string $kind
@param string $repoName

@return static
Add a repository detected version .