Removed an unused variable and made a PSR style-fix