original_string: public function addDetectedVersion($version, $kind, $repoName)
      {
          $this->detectedVersions[$version] = [
              'kind' => $kind,
              'repoName' => $repoName,
          ];
  
          return $this;
      }
code: public function addDetectedVersion($version, $kind, $repoName)
      {
          $this->detectedVersions[$version] = [
              'kind' => $kind,
              'repoName' => $repoName,
          ];
  
          return $this;
      }
code_tokens: public function addDetectedVersion ( $ version , $ kind , $ repoName ) { $ this -> detectedVersions [ $ version ] = [ 'kind' => $ kind , 'repoName' => $ repoName , ] ; return $ this ; }
docstring: Add a repository detected version.
  
  @param string $version
  @param string $kind
  @param string $repoName
  
  @return static
docstring_tokens: Add a repository detected version .