fix psr-2

I just updated some of the code to match the PSR-2 standard. It's just a few fixes to make your psr-2 update complete.