Laravel Test: API Controller - Voices

This is a Controller code that needs to be improved, in whatever way possible.

This repository is not a full Laravel project, just that one Controller file. Your task is to improve the code and create a test for it. Don't forget install the Laravel itself.


Good luck!