inspection question

yeah, and i forgot to mention they told me the intake manifold was leaking and they said my tires passed inspection but they tried to sell me new tires for over 15 minutes

im trying to find somewhere the laws regarding failing pa inspection but im not really finding anything

i have heard three different things:

1 week to take it back or you have to pay again
2 weeks to take it back
30 days to take it back

but im all honesty can they charge me again to get it inspected? i want to get correct info before i talk to them so i dont walk in there spewing a bunch of trash and them thinking im an idiot