Fixed phpcs (CakePHP coding standard) errors