Address CodeSniffer comments in ApiBase.php

Change-Id: Ifd8567dcccf51a16f0dc7459a3bbe9e21e928d91
Merge "Address CodeSniffer comments in ApiBase.php"