Dstockto's phpcs fix for API v1 event/claim plus some comment fixes