Fixed code to be compliant with PSR2 coding standard