Possibly, both. Local income tax might be withheld on wages you earn inside city, county, and school district boundaries. If you live or work in an area that levies a tax, your wages will be taxed by that jurisdiction.
You can look up which PA local taxes you pay, PA - Municipal Statistics