Skip to content

Firefly III: a personal finances manager

No need to use the exception either.

James Colea3674c4dfe49
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) {