fix botched PSR-1 patch