Some refactoring, courtesy of PHPStorm.
Some refactoring, courtesy of PHPStorm.

tonicospinelli/firefly-iii,tonicospinelli/firefly-iii,JC5/firefly-iii,firefly-iii/firefly-iii,firefly-iii/firefly-iii,tonicospinelli/firefly-iii,tonicospinelli/firefly-iii,firefly-iii/firefly-iii,JC5/firefly-iii,firefly-iii/firefly-iii