Replace java-like types defintion with PHPDoc format