original_string: public function getPackageInfo($packageName)
      {
          $composerLock = json_decode($this->finder->get('composer.lock'));
          foreach ($composerLock->packages as $package) {
              if ($package->name == $packageName) {
                  return $package;
              }
          }
      }
code: public function getPackageInfo($packageName)
      {
          $composerLock = json_decode($this->finder->get('composer.lock'));
          foreach ($composerLock->packages as $package) {
              if ($package->name == $packageName) {
                  return $package;
              }
          }
      }
code_tokens: public function getPackageInfo ( $ packageName ) { $ composerLock = json_decode ( $ this -> finder -> get ( 'composer.lock' ) ) ; foreach ( $ composerLock -> packages as $ package ) { if ( $ package -> name == $ packageName ) { return $ package ; } } }
docstring: Get the exact installed version for the specified package.
  
  @param string $packageName
  
  @return string mixed
docstring_tokens: Get the exact installed version for the specified package .