Skip to content

Commit abcc875

Browse files
committed
Fix PHPStan errors
1 parent af87ec2 commit abcc875

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webapp/src/Service/DOMJudgeService.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1747,12 +1747,12 @@ public function checkNewVersion(): string|false {
17471747
if (strnatcmp($latest, $extractedLocalVersionString) === 1) {
17481748
return $latest;
17491749
}
1750-
if (strnatcmp($latest, $extractedlocalVersionString) === 0 && str_contains($localVersionString, "DEV")) {
1750+
if (strnatcmp($latest, $extractedLocalVersionString) === 0 && str_contains($localVersionString, "DEV")) {
17511751
// Special case, the development version is now released
17521752
return $latest;
17531753
}
17541754
} else {
1755-
throw Exception("Unknown UpdateStrategy value.");
1755+
throw new Exception("Unknown UpdateStrategy value.");
17561756
}
17571757
return false;
17581758
}

0 commit comments

Comments
 (0)