Fix typo in javadoc

The javadoc was referencing `pToKey` when it should refer to `fromKey` instead