Refactor: fix some phpDoc and indentation.