Fixed phpdoc for create index functions.

Some fixes to the phpdocs.