[4.1] [Minor] CS Tweaks To Application.php

I've updated the single-line if statements in the `register` method of `Application.php` to be the same style as the other single-line if statements in the file.