Adapted Code Style

This commit adapts the code style of the project according to the rules
of [PSR-2](http://www.php-fig.org/psr/psr-2/).