mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-16 09:51:16 +00:00
No need to use the exception either.
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user