PIM-1437 : Clean php documentation and code