From a3674c4dfe49840a8ee72e0850ad6bc0af9af071 Mon Sep 17 00:00:00 2001 From: James Cole Date: Wed, 10 Sep 2025 07:03:41 +0200 Subject: [PATCH] No need to use the exception either. --- app/Console/Commands/System/OutputsInstructions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/System/OutputsInstructions.php b/app/Console/Commands/System/OutputsInstructions.php index ffc2bdd8bb..fb99e99692 100644 --- a/app/Console/Commands/System/OutputsInstructions.php +++ b/app/Console/Commands/System/OutputsInstructions.php @@ -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) {