Typo fixes and stylizing

Hi, I just fixed some typos and stylized the PHP file. This looks awesome! :+1: