Add type hints to Fingerprint

These hints allow creating loops such as this one without tools
losing track of the type of the elements.

foreach ( $fingerprint->getLabels() as $label ) {}