mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-11-03 20:55:05 +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