diff options
Diffstat (limited to 'lib/private/App/AppStore/Version/VersionParser.php')
-rw-r--r-- | lib/private/App/AppStore/Version/VersionParser.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/App/AppStore/Version/VersionParser.php b/lib/private/App/AppStore/Version/VersionParser.php index 6a369b1cb6e..2b88399b9fd 100644 --- a/lib/private/App/AppStore/Version/VersionParser.php +++ b/lib/private/App/AppStore/Version/VersionParser.php @@ -64,7 +64,7 @@ class VersionParser { if (!$this->isValidVersionString($firstVersionNumber)) { break; } - if (strpos($firstVersion, '>') === 0) { + if (str_starts_with($firstVersion, '>')) { return new Version($firstVersionNumber, ''); } return new Version('', $firstVersionNumber); |