From the PA UNIFORM FIREARMS ACT (UFA), partial quote:
"An individual whose license is revoked may appeal to
the court of common pleas for the judicial district in which the
individual resides".
For the full UFA, see
here and search the page for "revoked".