Skip to content

Commit 9bac33c

Browse files
committed
Merge branch '3.x-dev' of https://github.com/joomla-framework/string into 4.x-dev
2 parents 5f13b17 + 15878f3 commit 9bac33c

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ Tests/ export-ignore
77
.editorconfig export-ignore
88
.gitattributes export-ignore
99
.gitignore export-ignore
10+
phpstan.neon export-ignore
1011
phpunit.xml.dist export-ignore
1112
ruleset.xml export-ignore

src/StringHelper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ public static function str_split($str, $splitLen = 1)
324324
* @param string $str2 string 2 to compare
325325
* @param string|boolean $locale The locale used by strcoll or false to use classical comparison
326326
*
327-
* @return integer < 0 if str1 is less than str2; > 0 if str1 is greater than str2, and 0 if they are equal.
327+
* @return integer Either < 0 if str1 is less than str2; > 0 if str1 is greater than str2, and 0 if they are equal.
328328
*
329329
* @link https://www.php.net/strcasecmp
330330
* @link https://www.php.net/strcoll
@@ -373,7 +373,7 @@ public static function strcasecmp($str1, $str2, $locale = false)
373373
* @param string $str2 string 2 to compare
374374
* @param mixed $locale The locale used by strcoll or false to use classical comparison
375375
*
376-
* @return integer < 0 if str1 is less than str2; > 0 if str1 is greater than str2, and 0 if they are equal.
376+
* @return integer Either < 0 if str1 is less than str2; > 0 if str1 is greater than str2, and 0 if they are equal.
377377
*
378378
* @link https://www.php.net/strcmp
379379
* @link https://www.php.net/strcoll

0 commit comments

Comments
 (0)