Laravel: Improved code formatting