No need to use the exception either.

This commit is contained in:
James Cole
2025-09-10 07:03:41 +02:00
parent 27480561ee
commit a3674c4dfe

View File

@@ -269,7 +269,7 @@ class OutputsInstructions extends Command
try {
$random = random_int(0, count($lines) - 1);
} catch (RandomException $e) {
} catch (RandomException) {
$random = 0;
}
if ($addQuotes) {