Fixed a small bug after changing the return type statements.
Fixed a small bug after changing the return type statements.

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