Fixed phpcs warnings