fixed formatting in phpapi