Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
shields
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GitHub Mirror
shields.io
shields
Commits
3b7495a9
Unverified
Commit
3b7495a9
authored
1 year ago
by
Christian Clauss
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
php-version.js: Fix typos (#9239)
parent
bf1bea8b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
services/php-version.js
+3
-3
3 additions, 3 deletions
services/php-version.js
with
3 additions
and
3 deletions
services/php-version.js
+
3
−
3
View file @
3b7495a9
...
...
@@ -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 inte
r
ger
* @returns {number} Version number integer
*/
function
toNum
(
s
)
{
let
n
=
+
s
...
...
@@ -133,7 +133,7 @@ function numberedVersionData(version) {
}
/**
* Compares two versions and return an inte
r
ger 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 sou
r
ce url and save in cache.
*
* @async
* @param {object} githubApiProvider - Github API provider
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment