Changed code formating to comply with php-fig.org's PSR