PHP class: reviewed formatting (removed trailing spaces, replaced 4 spaces with tabs)