Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Commit

Permalink
Merge pull request #4847
Browse files Browse the repository at this point in the history
  • Loading branch information
Maks3w committed Jul 18, 2013
2 parents 1fe8079 + 0499775 commit 252e479
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions library/Zend/Version/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ public static function compareVersion($version)
/**
* Fetches the version of the latest stable release.
*
* By Default, this uses the GitHub API (v3) and only returns refs that begin with
* 'tags/release-'. Because GitHub returns the refs in alphabetical order,
* we need to reduce the array to a single value, comparing the version
* numbers with version_compare().
*
* If $service is set to VERSION_SERVICE_ZEND this will fall back to calling the
* classic style of version retreival.
* By default, this uses the API provided by framework.zend.com for version
* retrieval.
*
* If $service is set to VERSION_SERVICE_GITHUB, this will use the GitHub
* API (v3) and only returns refs that begin with * 'tags/release-'.
* Because GitHub returns the refs in alphabetical order, we need to reduce
* the array to a single value, comparing the version numbers with
* version_compare().
*
* @see http://developer.github.com/v3/git/refs/#get-all-references
* @link https://api.github.com/repos/zendframework/zf2/git/refs/tags/release-
Expand Down

0 comments on commit 252e479

Please sign in to comment.