Complete phpdoc integration per @petsagouris PR #179