Linting and some doc comments

Got rid of all phpcs error's, fixed some doc comment issues.