You can find the follow information posted on the PA Tax Revenue Website:
If you filed electronically it takes approximately 4 weeks to process your tax return. If
you filed a paper PA-40, it takes approximately 8 to 10 weeks to
process. However, if the department needs to verify information
reported on your return or request additional information, the process
will take longer.