From 3b7495a985cd23ae29950dce05d738cd44f31943 Mon Sep 17 00:00:00 2001
From: Christian Clauss <cclauss@me.com>
Date: Wed, 7 Jun 2023 11:35:04 +0200
Subject: [PATCH] php-version.js: Fix typos (#9239)

---
 services/php-version.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/services/php-version.js b/services/php-version.js
index 61cb9858b3..037fa24658 100644
--- a/services/php-version.js
+++ b/services/php-version.js
@@ -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
-- 
GitLab