Skip to content
Snippets Groups Projects
Unverified Commit 3b7495a9 authored by Christian Clauss's avatar Christian Clauss Committed by GitHub
Browse files

php-version.js: Fix typos (#9239)

parent bf1bea8b
No related branches found
No related tags found
No related merge requests found
......@@ -114,7 +114,7 @@ function numberedVersionData(version) {
* Try to convert to a list of numbers.
*
* @param {string} s - Version number string
* @returns {number} Version number interger
* @returns {number} Version number integer
*/
function toNum(s) {
let n = +s
......@@ -133,7 +133,7 @@ function numberedVersionData(version) {
}
/**
* Compares two versions and return an interger based on the result.
* Compares two versions and return an integer based on the result.
* See https://getcomposer.org/doc/04-schema.md#version
* and https://github.com/badges/shields/issues/319#issuecomment-74411045
*
......@@ -264,7 +264,7 @@ function versionReduction(versions, phpReleases) {
}
/**
* Fetches the PHP release versions from cache if exists, else fetch from the souce url and save in cache.
* Fetches the PHP release versions from cache if exists, else fetch from the source url and save in cache.
*
* @async
* @param {object} githubApiProvider - Github API provider
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment