phpdoc says getPartCount() returns void, but it returns an integer.
Added diff to fix wrong phpdoc.
Assigned to Nico
Added diff to fix wrong phpdoc.